From 7d5c1e9b21cfd430df2fee607b7a2c34dff931eb Mon Sep 17 00:00:00 2001 From: Convly Date: Thu, 1 Sep 2022 10:50:44 +0200 Subject: [PATCH] Revert add comment --- packages/plugins/i18n/server/graphql.js | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/plugins/i18n/server/graphql.js b/packages/plugins/i18n/server/graphql.js index e1a9f6780c..da94d825e5 100644 --- a/packages/plugins/i18n/server/graphql.js +++ b/packages/plugins/i18n/server/graphql.js @@ -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' } }, },