Skip to content

Commit 1a23d62

Browse files
authored
Merge pull request #9900 from woocommerce/bug/plan-sync-for-wpcom
Fix wrong check for site plan sync
2 parents 1b022d7 + fcf223f commit 1a23d62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WooCommerce/Classes/Yosemite/DefaultStoresManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ private extension DefaultStoresManager {
387387

388388
/// skips synchronizing site plan if logged in with WPOrg credentials
389389
/// because this requires a WPCom endpoint.
390-
if isAuthenticatedWithoutWPCom {
390+
if isAuthenticatedWithoutWPCom == false {
391391
group.enter()
392392
let sitePlanAction = AccountAction.synchronizeSitePlan(siteID: siteID) { result in
393393
if case let .failure(error) = result {

0 commit comments

Comments
 (0)