mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 19:04:38 +00:00
Update packages/core/utils/lib/operators.js
Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>
This commit is contained in:
parent
8b08534ec8
commit
00f43de9b7
@ -60,7 +60,7 @@ const isOperatorOfType = (type, key, ignoreCase = false) => {
|
||||
if (ignoreCase) {
|
||||
return OPERATORS_LOWERCASE[type]?.includes(key.toLowerCase()) ?? false;
|
||||
}
|
||||
return OPERATORS[type]?.includes(key);
|
||||
return OPERATORS[type]?.includes(key) ?? false;
|
||||
};
|
||||
|
||||
const isOperator = (key, ignoreCase = false) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user