From 552753abd2a2b37a882bc442ead31948f390f04e Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sat, 6 Apr 2024 12:10:01 -0700 Subject: [PATCH] Remove unused trys. --- .../Account/ReaderAPI/ReaderAPIAccountDelegate.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Account/Sources/Account/ReaderAPI/ReaderAPIAccountDelegate.swift b/Account/Sources/Account/ReaderAPI/ReaderAPIAccountDelegate.swift index 61191ff31..6cf0ac367 100644 --- a/Account/Sources/Account/ReaderAPI/ReaderAPIAccountDelegate.swift +++ b/Account/Sources/Account/ReaderAPI/ReaderAPIAccountDelegate.swift @@ -171,10 +171,10 @@ final class ReaderAPIAccountDelegate: AccountDelegate { let createStarredStatuses = syncStatuses.filter { $0.key == SyncStatus.Key.starred && $0.flag == true } let deleteStarredStatuses = syncStatuses.filter { $0.key == SyncStatus.Key.starred && $0.flag == false } - try await sendArticleStatuses(createUnreadStatuses, apiCall: caller.createUnreadEntries) - try await sendArticleStatuses(deleteUnreadStatuses, apiCall: caller.deleteUnreadEntries) - try await sendArticleStatuses(createStarredStatuses, apiCall: caller.createStarredEntries) - try await sendArticleStatuses(deleteStarredStatuses, apiCall: caller.deleteStarredEntries) + await sendArticleStatuses(createUnreadStatuses, apiCall: caller.createUnreadEntries) + await sendArticleStatuses(deleteUnreadStatuses, apiCall: caller.deleteUnreadEntries) + await sendArticleStatuses(createStarredStatuses, apiCall: caller.createStarredEntries) + await sendArticleStatuses(deleteStarredStatuses, apiCall: caller.deleteStarredEntries) os_log(.debug, log: self.log, "Done sending article statuses.") }