Skip to content

Commit

Permalink
fix(@cubejs-backend/schema-compiler): TypeError: methods.filter is no…
Browse files Browse the repository at this point in the history
…t a function
  • Loading branch information
paveltiunov committed Jun 6, 2020
1 parent 9a47fe9 commit 25c4ef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cubejs-schema-compiler/adapter/BaseQuery.js
Original file line number Diff line number Diff line change
Expand Up @@ -1931,7 +1931,7 @@ class BaseQuery {
if (!paramValue) {
throw new UserError(`Filter for ${column} is required`);
}
return methods.filter(column);
return methods(paramValue).filter(column);
},
unsafeValue: () => paramValue
});
Expand Down

0 comments on commit 25c4ef6

Please sign in to comment.