Skip to content

Commit

Permalink
fix: removed extra fault payload code in filter (reactplay#872)
Browse files Browse the repository at this point in the history
  • Loading branch information
supminn committed Jan 16, 2023
1 parent 0b2f6e7 commit d415477
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env.development
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
REACT_APP_NHOST_BACKEND_URL=https://rgkjmwftqtbpayoyolwh.nhost.run/
REACT_APP_NHOST_BACKEND_URL=https://rgkjmwftqtbpayoyolwh.nhost.run
REACT_APP_NHOST_VERSION=v1
REACT_APP_NHOST_ENDPOINT=graphql
REACT_APP_PLAY_WEB_SVC=https://api.reactplay.io/.netlify/functions/server
Expand Down
2 changes: 1 addition & 1 deletion src/common/services/request/query/fetch-plays-filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function createObjectPayload(items, key, ifTags) {
if (items.length > 1) {
obj.clause = {
operator: 'or',
conditions: !env && !preview ? [defaultClause] : []
conditions: []
};
if (ifTags) {
obj.clause.class = 'play_tags';
Expand Down

0 comments on commit d415477

Please sign in to comment.