Skip to content

Commit 92b1598

Browse files
committed
Update attendance status keys
1 parent 93cbfbf commit 92b1598

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Modules/Sources/Networking/Model/Bookings/Booking.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@ public enum BookingStatus: String, CaseIterable {
211211
/// periphery: ignore - will be used in UI in upcoming PRs
212212
public enum BookingAttendanceStatus: String, CaseIterable {
213213
case booked
214-
case checkedIn = "checked_in"
214+
case checkedIn = "checked-in"
215215
case cancelled
216-
case noShow = "no_show"
216+
case noShow = "no-show"
217217
case unknown
218218
}

Modules/Sources/Yosemite/Model/Booking/Booking+ReadOnlyConvertible.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ extension Storage.Booking: ReadOnlyConvertible {
2424
resourceID = booking.resourceID
2525
startDate = booking.startDate
2626
statusKey = booking.statusKey
27+
attendanceStatusKey = booking.attendanceStatusKey
2728
localTimezone = booking.localTimezone
2829
currency = booking.currency
2930
}

0 commit comments

Comments
 (0)