We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8836d9b commit aefce2cCopy full SHA for aefce2c
packages/amplify_api/lib/method_channel_api.dart
@@ -278,6 +278,9 @@ class AmplifyAPIMethodChannel extends AmplifyAPI {
278
inputsMap['restOptions'] = restOptions.serializeAsMap();
279
inputsMap['cancelToken'] = cancelToken;
280
281
+ // Refresh auth tokens
282
+ await _authProviderRefresher();
283
+
284
// Attempt switch to proper async
285
try {
286
final Map<String, dynamic>? data = (await (_channel
0 commit comments