Skip to content

Commit

Permalink
update: networking
Browse files Browse the repository at this point in the history
  • Loading branch information
agordn52 committed Feb 25, 2024
1 parent c4678ea commit bbc10cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/docs/5.20.0/networking.md
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
Expand Down

0 comments on commit bbc10cb

Please sign in to comment.