From cb2c1db1b64a89bd587c446cd2f39e6de013fcdd Mon Sep 17 00:00:00 2001 From: Praphan Oranphanlert Date: Tue, 8 Mar 2022 12:17:16 +0700 Subject: [PATCH] fix emailConfirmation graphql mutation --- .../server/graphql/mutations/auth/email-confirmation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugins/users-permissions/server/graphql/mutations/auth/email-confirmation.js b/packages/plugins/users-permissions/server/graphql/mutations/auth/email-confirmation.js index 70c55f3149..1e97f9af99 100644 --- a/packages/plugins/users-permissions/server/graphql/mutations/auth/email-confirmation.js +++ b/packages/plugins/users-permissions/server/graphql/mutations/auth/email-confirmation.js @@ -19,7 +19,7 @@ module.exports = ({ nexus, strapi }) => { async resolve(parent, args, context) { const { koaContext } = context; - koaContext.request.body = toPlainObject(args); + koaContext.query = toPlainObject(args); await strapi .plugin('users-permissions')