Skip to content

Commit

Permalink
fix in operator on simple-rest
Browse files Browse the repository at this point in the history
  • Loading branch information
omeraplak committed Jan 14, 2022
1 parent 779c670 commit 975b66e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/simple-rest/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@ const mapOperator = (operator: CrudOperators): string => {
case "contains":
return "_like";
case "eq":
return "";
default:
throw Error(`Operator ${operator} is not supported`);
return "";
}
};

Expand Down

0 comments on commit 975b66e

Please sign in to comment.