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: Resolve Get all reservations endpoint error #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nigelnindodev
Copy link
Owner

This pull request fixes an issue with the GET reservations endpoint. Currently, it does not work due to a missing await call on this line, causing the following error:

Screenshot from 2022-07-15 20-38-42

On top of fixing the issue, this PR also refactors the database query function to be called from the models instead of the service implementation. Below is a screenshot of the working version:

Screenshot from 2022-07-15 20-37-16

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.

1 participant