mirror of
https://github.com/ComfortablyCoding/strapi-plugin-slugify.git
synced 2025-12-17 00:01:53 -05:00
7 lines
155 B
JavaScript
7 lines
155 B
JavaScript
const hasRequiredModelScopes = (strapi, uid, auth) =>
|
|
strapi.auth.verify(auth, { scope: `${uid}.find` });
|
|
|
|
module.exports = {
|
|
hasRequiredModelScopes,
|
|
};
|