From bbc10cb357a95f7bf0ac512d09d15c389b0ae874 Mon Sep 17 00:00:00 2001 From: Anthony Date: Sun, 25 Feb 2024 11:11:34 +0700 Subject: [PATCH] update: networking --- resources/docs/5.20.0/networking.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/docs/5.20.0/networking.md b/resources/docs/5.20.0/networking.md index de46176..8c5c21a 100644 --- a/resources/docs/5.20.0/networking.md +++ b/resources/docs/5.20.0/networking.md @@ -660,7 +660,7 @@ class ApiService extends NyApiService { @override refreshToken(Dio dio) async { - dynamic response = (await dio.get("https://example.com/refresh-token")).data(); + dynamic response = (await dio.get("https://example.com/refresh-token")).data; // Save the new token to local storage User user = Auth.user(); user.token = Token.fromJson(response['token']);