Skip to content

Commit

Permalink
fix(amplify_datstore): mprovider compile issue (aws-amplify#681)
Browse files Browse the repository at this point in the history
  • Loading branch information
fjnoyp authored Jun 28, 2021
1 parent 4cc71a1 commit d23a816
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class DataStoreCategory {
// Extra step to configure datastore specifically.
// Note: The native datastore plugins are not added
// in the `onAttachedToEngine` but rather in the `configure()
await plugin.configureDataStore(modelProvider: plugin.modelProvider);
await plugin.configureDataStore(modelProvider: plugin.modelProvider!);
plugins.add(plugin);
} on AmplifyAlreadyConfiguredException catch (e) {
plugins.add(plugin);
Expand Down

0 comments on commit d23a816

Please sign in to comment.