mirror of
https://github.com/strapi/strapi.git
synced 2025-09-01 12:53:03 +00:00
Merge pull request #12773 from e23thr/master
fix emailConfirmation graphql mutation
This commit is contained in:
commit
94d986ee4c
@ -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