Skip to content

Conversation

@KesterJJ
Copy link
Contributor

@KesterJJ KesterJJ commented Dec 3, 2025

Description of the change

The driver was exiting if the "action" in the payload was not "approved" or "cancelled". But when a Concierge user cancels a booking, the "action" is "metadata_changed" and "cancelled" is under "status" in the extension data. Made changes to accommodate this for both cancelled and approved bookings.

Also added logging so we can see where the code exits in case of further issues.

Additional information

Succeeds in test harness although I did not update the spec file

@KesterJJ KesterJJ requested review from chillfox, stakach and w-le December 3, 2025 12:53
Copy link
Member

@stakach stakach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@stakach stakach merged commit ae0bd75 into master Dec 10, 2025
3 of 4 checks passed
@stakach stakach deleted the fix/booking_notifier/metadata-changed-allowed-actions branch December 10, 2025 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants