Skip to content

Commit

Permalink
fixGetBookings
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelbrui committed Apr 2, 2024
1 parent 9c3696a commit 2dff463
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/integrations/gei-bookings/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gei-bookings",
"version": "0.1.4",
"version": "0.1.5",
"description": "Automatically generated by graphql-editor-cli",
"main": "lib/index.js",
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const getBookingsForService = async (input: FieldResolveInput) =>
.then((s) => s.map((ss) => ss._id))

const bookings = await o('Bookings')
.collection.find({ service: { $in: ownedServices } })
.collection.find({ services: { $in: ownedServices } })
.limit(po.limit)
.skip(po.skip)
.sort('createdAt', -1)
Expand Down

0 comments on commit 2dff463

Please sign in to comment.