We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 908eb5b commit b3991c7Copy full SHA for b3991c7
Modules/Sources/Yosemite/Model/Booking/Booking+ReadOnlyConvertible.swift
@@ -13,8 +13,13 @@ extension Storage.Booking: ReadOnlyConvertible {
13
allDay = booking.allDay
14
cost = booking.cost
15
customerID = booking.customerID
16
+
17
+ /// Falling to back to existing values in case if new values are absent
18
+ /// Booking returned when sending a `PUT` request to `bookings/{booking_id}`
19
+ /// doesn't contain `date_created` and `date_modified` values.
20
dateCreated = booking.dateCreated ?? dateCreated
21
dateModified = booking.dateModified ?? dateModified
22
23
endDate = booking.endDate
24
googleCalendarEventID = booking.googleCalendarEventID
25
orderID = booking.orderID
0 commit comments