Skip to content

Commit 78de80e

Browse files
committed
Run booking update task on main actor
1 parent b3991c7 commit 78de80e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/Sources/Yosemite/Stores/BookingStore.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ private extension BookingStore {
268268
return onCompletion(UpdateBookingStatusError.undefinedState)
269269
}
270270

271-
Task {
271+
Task { @MainActor in
272272
do {
273273
if let remoteBooking = try await self.remote.updateBooking(
274274
from: siteID,

0 commit comments

Comments
 (0)