Skip to content

Commit

Permalink
fixDatefilter
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelbrui committed Apr 15, 2024
1 parent a207b22 commit 92f41ac
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.2.0",
"version": "0.2.1",
"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 @@ -11,7 +11,7 @@ export const listServices = async (input: FieldResolveInput) =>
const po = preparePageOptions(args?.input?.page);
const pa =
args?.input?.filters &&
Object.fromEntries(Object.entries(args?.input?.filters).filter((v) => v !== null && v !== undefined));
Object.fromEntries(Object.entries(args?.input?.filters).filter((v) => v !== null && v !== undefined && v[0] !== 'fromDate' && v[0] !== 'toDate'));
const fromDate = isScalarDate(args?.input?.filters?.fromDate)
? isScalarDate(args?.input?.filters?.fromDate)
: undefined;
Expand Down

0 comments on commit 92f41ac

Please sign in to comment.