mirror of
https://github.com/strapi/strapi.git
synced 2025-11-07 21:58:23 +00:00
fix typo
This commit is contained in:
parent
6ea17eea67
commit
c1f0f87949
@ -27,7 +27,7 @@ const sanitizeQuery = (data, ctx) => {
|
|||||||
const schema = strapi.getModel(FILE_MODEL_UID);
|
const schema = strapi.getModel(FILE_MODEL_UID);
|
||||||
const { auth } = ctx.state;
|
const { auth } = ctx.state;
|
||||||
|
|
||||||
return validate.contentAPI.query(data, schema, { auth });
|
return sanitize.contentAPI.query(data, schema, { auth });
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user