Skip to content

Commit

Permalink
chore(placeos/room-events): don't parse calendar resp internally
Browse files Browse the repository at this point in the history
Co-authored-by: Stephen von Takach <[email protected]>
  • Loading branch information
w-le and stakach authored Sep 22, 2023
1 parent 87129a1 commit 046b28d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/place/bookings.cr
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ class Place::Bookings < PlaceOS::Driver

# Allow apps to search for attendees (to add to new bookings) via driver instead of via staff-api (as some role based accounts may not have MS Graph access)
def list_users(query : String? = nil, limit : UInt32? = 20_u32)
calendar.list_users(query, limit).get.as_a
calendar.list_users(query, limit)
end

def book_now(period_in_seconds : Int64, title : String? = nil, owner : String? = nil)
Expand Down

0 comments on commit 046b28d

Please sign in to comment.