Skip to content

Commit

Permalink
Update AmplifyPlugins/DataStore/Sources/AWSDataStorePlugin/Storage/St…
Browse files Browse the repository at this point in the history
…orageEngine+SyncRequirement.swift

Co-authored-by: Sebastian Villena <97059974+ruisebas@users.noreply.github.com>
  • Loading branch information
lawmicha and sebaland authored Jan 16, 2024
1 parent ab4c61e commit aa2c331
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ extension StorageEngine {

let authPluginRequired = StorageEngine.requiresAuthPlugin(
api,
authModeStrategy: dataStoreConfiguration.authModeStrategyType)
authModeStrategy: dataStoreConfiguration.authModeStrategyType
)
guard authPluginRequired else {
syncEngine.start(api: apiGraphQL, auth: nil)
return .success(.successfullyInitialized)
Expand Down

0 comments on commit aa2c331

Please sign in to comment.