Skip to content

Commit 603b6a1

Browse files
committed
Update POSCatalogSyncCoordinator.swift
1 parent aef5d57 commit 603b6a1

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

Modules/Sources/Yosemite/Tools/POS/POSCatalogSyncCoordinator.swift

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -325,15 +325,8 @@ public actor POSCatalogSyncCoordinator: POSCatalogSyncCoordinatorProtocol {
325325

326326
private extension POSCatalogSyncCoordinator {
327327
func emitSyncState(_ state: POSCatalogSyncState) {
328-
// Extract siteID from state for caching
329328
let siteID: Int64 = switch state {
330-
case .syncStarted(let id, _):
331-
id
332-
case .syncCompleted(let id):
333-
id
334-
case .syncFailed(let id, _):
335-
id
336-
case .syncNeverDone(let id):
329+
case .syncStarted(let id, _), .syncCompleted(let id), .syncFailed(let id, _), .syncNeverDone(let id):
337330
id
338331
}
339332

0 commit comments

Comments
 (0)