From ee80e9f3ada324dc0bd0338ef28b4265cdfecc94 Mon Sep 17 00:00:00 2001 From: Michael Law <1365977+lawmicha@users.noreply.github.com> Date: Tue, 16 Jan 2024 00:57:47 -0500 Subject: [PATCH] Update AmplifyPlugins/DataStore/AWSDataStoreCategoryPlugin/Storage/StorageEngine+SyncRequirement.swift Co-authored-by: Sebastian Villena <97059974+ruisebas@users.noreply.github.com> --- .../Storage/StorageEngine+SyncRequirement.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/AmplifyPlugins/DataStore/AWSDataStoreCategoryPlugin/Storage/StorageEngine+SyncRequirement.swift b/AmplifyPlugins/DataStore/AWSDataStoreCategoryPlugin/Storage/StorageEngine+SyncRequirement.swift index da3ccb5975..d586a5e599 100644 --- a/AmplifyPlugins/DataStore/AWSDataStoreCategoryPlugin/Storage/StorageEngine+SyncRequirement.swift +++ b/AmplifyPlugins/DataStore/AWSDataStoreCategoryPlugin/Storage/StorageEngine+SyncRequirement.swift @@ -27,7 +27,8 @@ extension StorageEngine { let authPluginRequired = StorageEngine.requiresAuthPlugin( api, - authModeStrategy: dataStoreConfiguration.authModeStrategyType) + authModeStrategy: dataStoreConfiguration.authModeStrategyType + ) guard authPluginRequired else { syncEngine.start(api: api, auth: nil)