Skip to content

Commit 2dff463

Browse files
committed
fixGetBookings
1 parent 9c3696a commit 2dff463

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/integrations/gei-bookings/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gei-bookings",
3-
"version": "0.1.4",
3+
"version": "0.1.5",
44
"description": "Automatically generated by graphql-editor-cli",
55
"main": "lib/index.js",
66
"scripts": {

packages/integrations/gei-bookings/src/UserQuery/getBookingsForService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const getBookingsForService = async (input: FieldResolveInput) =>
1717
.then((s) => s.map((ss) => ss._id))
1818

1919
const bookings = await o('Bookings')
20-
.collection.find({ service: { $in: ownedServices } })
20+
.collection.find({ services: { $in: ownedServices } })
2121
.limit(po.limit)
2222
.skip(po.skip)
2323
.sort('createdAt', -1)

0 commit comments

Comments
 (0)