From 4ad836cc7d5ae048bfeb10eafab214f131ed75b3 Mon Sep 17 00:00:00 2001 From: koustov Date: Tue, 2 Aug 2022 23:34:53 +0530 Subject: [PATCH] reverted json-graphql-parser, added operator key to the query --- package.json | 3 +-- src/common/services/request/query/like-play.js | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 598076256..906c8b337 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "git-repo-api": "^0.0.17", "graphql": "^16.5.0", "html-to-image": "^1.9.0", - "json-graphql-parser": "^0.1.5", + "json-graphql-parser": "^0.1.7", "lodash": "^4.17.21", "node-sass": "^7.0.1", "react": "^18.0.0", @@ -37,7 +37,6 @@ "redux": "^4.2.0", "redux-persist": "^6.0.0", "reselect": "^4.1.5", - "url": "^0.11.0", "web-vitals": "^2.1.0" }, "scripts": { diff --git a/src/common/services/request/query/like-play.js b/src/common/services/request/query/like-play.js index d05e31687..5abc06b2a 100644 --- a/src/common/services/request/query/like-play.js +++ b/src/common/services/request/query/like-play.js @@ -22,6 +22,7 @@ export const unlikeIndividualPlay = (Obj) => { write: true, where: { clause: { + operator: "and", conditions: [ { field: "play_id",