fix emailConfirmation graphql mutation

This commit is contained in:
Praphan Oranphanlert 2022-03-08 12:17:16 +07:00
parent 6343ce509c
commit cb2c1db1b6

View File

@ -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')