Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(bookings): add transaction lock to prevent duplicate bookings #242

Merged
merged 1 commit into from
Dec 14, 2022

Conversation

stakach
Copy link
Member

@stakach stakach commented Dec 14, 2022

wraps the create and update functions in a transaction

fixes #241

@stakach stakach added product: placeos Issue relates to PlaceOS Product priority: medium focus: backend Focus on Back End Development labels Dec 14, 2022
@stakach stakach self-assigned this Dec 14, 2022
@github-actions github-actions bot added the type: bug something isn't working label Dec 14, 2022
Copy link
Contributor

@naqvis naqvis 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 f729804 into master Dec 14, 2022
@stakach stakach deleted the protect-bookings-clashes branch December 14, 2022 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
focus: backend Focus on Back End Development priority: medium product: placeos Issue relates to PlaceOS Product type: bug something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

additional protections for duplicate bookings
2 participants