mirror of
https://github.com/strapi/strapi.git
synced 2025-07-31 04:45:54 +00:00
remove case insensitivity from id check
This commit is contained in:
parent
c1cd5b5b90
commit
6ffb7f99e1
@ -400,7 +400,7 @@ const convertFieldsQueryParams = (fields, depth = 0) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const isValidSchemaAttribute = (key, schema) => {
|
const isValidSchemaAttribute = (key, schema) => {
|
||||||
if (key.trim().toLowerCase() === 'id') {
|
if (key === 'id') {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user