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']);