Skip to content

Commit

Permalink
fix(auth): correct auth providers imports from rebase (#2042)
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Sheppard committed Aug 23, 2022
1 parent a1e8d9d commit 3ac59f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,11 @@ class AmplifyAuthCognito extends AmplifyAuthCognitoDart with AWSDebuggable {
}

@override
Future<void> configure({AmplifyConfig? config}) async {
await super.configure(config: config);
Future<void> configure({
AmplifyConfig? config,
required AmplifyAuthProviderRepository authProviderRepo,
}) async {
await super.configure(config: config, authProviderRepo: authProviderRepo);

// Update the native cache for the current user on hub events.
final nativeBridge = stateMachine.get<NativeAuthBridge>();
Expand Down

0 comments on commit 3ac59f4

Please sign in to comment.