Skip to content

Commit 2c87690

Browse files
committed
Add missing arguments
1 parent 2bd2e0a commit 2c87690

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

Modules/Sources/Fakes/Networking.generated.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,7 @@ extension Networking.Booking {
338338
resourceID: .fake(),
339339
startDate: .fake(),
340340
statusKey: .fake(),
341+
attendanceStatusKey: .fake(),
341342
localTimezone: .fake(),
342343
currency: .fake(),
343344
orderInfo: .fake()

Modules/Sources/Networking/Model/Copiable/Models+Copiable.generated.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,7 @@ extension Networking.Booking {
446446
resourceID: CopiableProp<Int64> = .copy,
447447
startDate: CopiableProp<Date> = .copy,
448448
statusKey: CopiableProp<String> = .copy,
449+
attendanceStatusKey: CopiableProp<String> = .copy,
449450
localTimezone: CopiableProp<String> = .copy,
450451
currency: CopiableProp<String> = .copy,
451452
orderInfo: NullableCopiableProp<BookingOrderInfo> = .copy
@@ -466,6 +467,7 @@ extension Networking.Booking {
466467
let resourceID = resourceID ?? self.resourceID
467468
let startDate = startDate ?? self.startDate
468469
let statusKey = statusKey ?? self.statusKey
470+
let attendanceStatusKey = attendanceStatusKey ?? self.attendanceStatusKey
469471
let localTimezone = localTimezone ?? self.localTimezone
470472
let currency = currency ?? self.currency
471473
let orderInfo = orderInfo ?? self.orderInfo
@@ -487,6 +489,7 @@ extension Networking.Booking {
487489
resourceID: resourceID,
488490
startDate: startDate,
489491
statusKey: statusKey,
492+
attendanceStatusKey: attendanceStatusKey,
490493
localTimezone: localTimezone,
491494
currency: currency,
492495
orderInfo: orderInfo

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ extension Storage.Booking: ReadOnlyConvertible {
4747
resourceID: resourceID,
4848
startDate: startDate ?? Date(),
4949
statusKey: statusKey ?? "",
50+
attendanceStatusKey: attendanceStatusKey ?? "",
5051
localTimezone: localTimezone ?? "",
5152
currency: currency ?? "USD",
5253
orderInfo: orderInfo?.toReadOnly())

WooCommerce/Classes/ViewRelated/Bookings/Booking Details/BookingDetailsView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,7 @@ struct BookingDetailsView_Previews: PreviewProvider {
335335
resourceID: 113,
336336
startDate: now,
337337
statusKey: "paid",
338+
attendanceStatusKey: "booked",
338339
localTimezone: "America/New_York",
339340
currency: "USD",
340341
orderInfo: nil

0 commit comments

Comments
 (0)