This commit is contained in:
Ben Irvin 2023-08-11 17:04:11 +02:00
parent 6ea17eea67
commit c1f0f87949

View File

@ -27,7 +27,7 @@ const sanitizeQuery = (data, ctx) => {
const schema = strapi.getModel(FILE_MODEL_UID);
const { auth } = ctx.state;
return validate.contentAPI.query(data, schema, { auth });
return sanitize.contentAPI.query(data, schema, { auth });
};
module.exports = {