Skip to content

Commit

Permalink
fix(bookings): preference booking.description when signalling
Browse files Browse the repository at this point in the history
  • Loading branch information
stakach committed Dec 9, 2024
1 parent afe2e0b commit 76867d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/controllers/bookings.cr
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ class Bookings < Application
booking_id: booking.id,
resource_id: booking.asset_id,
recource_ids: booking.asset_ids,
event_summary: booking.title,
event_summary: booking.description.presence || booking.title,
event_starting: booking.booking_start,
attendee_name: guest.name,
attendee_email: guest.email,
Expand Down Expand Up @@ -635,7 +635,7 @@ class Bookings < Application
booking_id: existing_booking.id,
resource_id: existing_booking.asset_id,
recource_ids: existing_booking.asset_ids,
event_summary: existing_booking.title,
event_summary: booking.description.presence || existing_booking.title,
event_starting: existing_booking.booking_start,
attendee_name: attendee.name,
attendee_email: attendee.email,
Expand Down Expand Up @@ -909,7 +909,7 @@ class Bookings < Application
booking_id: booking.id,
resource_id: booking.asset_id,
recource_ids: booking.asset_ids,
event_summary: booking.title,
event_summary: booking.description.presence || booking.title,
event_starting: booking.booking_start,
attendee_name: attendee.name,
attendee_email: attendee.email,
Expand Down

0 comments on commit 76867d4

Please sign in to comment.