remove case insensitivity from id check

This commit is contained in:
Ben Irvin 2023-05-18 10:00:04 +02:00
parent c1cd5b5b90
commit 6ffb7f99e1

View File

@ -400,7 +400,7 @@ const convertFieldsQueryParams = (fields, depth = 0) => {
};
const isValidSchemaAttribute = (key, schema) => {
if (key.trim().toLowerCase() === 'id') {
if (key === 'id') {
return true;
}