From 8d271daf38a139eeb9ee789024befe0ef9dc36ad Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Mon, 6 Jun 2022 12:35:44 -0700 Subject: [PATCH] Only attempt to force sync content if it needs creation before reading --- .../Services/DataService/Queries/ArticleContentQuery.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apple/OmnivoreKit/Sources/Services/DataService/Queries/ArticleContentQuery.swift b/apple/OmnivoreKit/Sources/Services/DataService/Queries/ArticleContentQuery.swift index 85fe53a79..d612aa82e 100644 --- a/apple/OmnivoreKit/Sources/Services/DataService/Queries/ArticleContentQuery.swift +++ b/apple/OmnivoreKit/Sources/Services/DataService/Queries/ArticleContentQuery.swift @@ -335,7 +335,7 @@ extension DataService { print("SERVER SYNC STATUS FOR LOADING ITEM", serverSyncStatus) if let id = id, let url = url, let title = title, let serverSyncStatus = serverSyncStatus, - serverSyncStatus != ServerSyncStatus.isNSync.rawValue + serverSyncStatus == ServerSyncStatus.needsCreation.rawValue { do { if let originalHtml = originalHtml {