Skip to content

Commit

Permalink
fix init of OCKScheduleElement
Browse files Browse the repository at this point in the history
  • Loading branch information
cbaker6 committed Nov 26, 2024
1 parent 6d1425e commit 9247fed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CareKitStore/CareKitStore/Structs/OCKScheduleEvent.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ public struct OCKScheduleEvent: Equatable {
element: OCKScheduleElement,
occurrence: Int
) {
self.start = Date()
self.end = Date()
self.start = start
self.end = end
self.element = element
self.occurrence = 0
self.occurrence = occurrence
}
}

0 comments on commit 9247fed

Please sign in to comment.