mirror of
https://github.com/strapi/strapi.git
synced 2025-09-21 14:31:16 +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
1c0c28fb0d
commit
2764c3c6ba
@ -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