-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: PPT-1326 Add endpoint to provide a list of booking ids #323
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
(only comments to update)
spec/controllers/bookings_spec.cr
Outdated
@@ -39,6 +39,33 @@ describe Bookings do | |||
body.size.should eq(1) | |||
end | |||
|
|||
it "should return a list of bookings ids" do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should say asset ids
instead of bookings ids
src/controllers/bookings.cr
Outdated
@@ -259,6 +259,69 @@ class Bookings < Application | |||
result | |||
end | |||
|
|||
# lists bookings IDs based on the parameters provided |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be asset IDs
instead of bookings IDs
No description provided.