Revert add comment

This commit is contained in:
Convly 2022-09-01 10:50:44 +02:00
parent ccf39e4f2f
commit 7d5c1e9b21

View File

@ -62,7 +62,6 @@ module.exports = ({ strapi }) => ({
...getLocalizedCreateMutationsResolversConfigs({ typeRegistry }),
// NOTE: Modify the default scope associated to find and findOne locale queries to match the actual action name
// This imitate the REST behavior which works for U&P strategy and full access token but fail with read-only ones.
'Query.i18NLocale': { auth: { scope: 'plugin::i18n.locales.listLocales' } },
'Query.i18NLocales': { auth: { scope: 'plugin::i18n.locales.listLocales' } },
},