Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/placeos-models/booking.cr
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ module PlaceOS::Model
end

private def get_parent
return nil unless !parent?
return nil if parent?
Booking.where(id: parent_id).to_a[0]
end

Expand Down
Loading