mirror of
https://github.com/strapi/strapi.git
synced 2025-07-26 02:20:32 +00:00
fix emailConfirmation graphql mutation
This commit is contained in:
parent
6343ce509c
commit
cb2c1db1b6
@ -19,7 +19,7 @@ module.exports = ({ nexus, strapi }) => {
|
|||||||
async resolve(parent, args, context) {
|
async resolve(parent, args, context) {
|
||||||
const { koaContext } = context;
|
const { koaContext } = context;
|
||||||
|
|
||||||
koaContext.request.body = toPlainObject(args);
|
koaContext.query = toPlainObject(args);
|
||||||
|
|
||||||
await strapi
|
await strapi
|
||||||
.plugin('users-permissions')
|
.plugin('users-permissions')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user