mirror of
https://github.com/ComfortablyCoding/strapi-plugin-slugify.git
synced 2025-12-17 00:01:53 -05:00
* refactor broken imports * update package info * update package name * fix other broken import * fix(pkg.json): revert changes * fix(santizeOutput): update import * fix: namespace error imports --------- Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>
9 lines
198 B
JavaScript
9 lines
198 B
JavaScript
const { sanitize } = require('@strapi/utils');
|
|
|
|
const sanitizeOutput = (data, contentType, auth) =>
|
|
sanitize.contentAPI.output(data, contentType, { auth });
|
|
|
|
module.exports = {
|
|
sanitizeOutput,
|
|
};
|