Skip to content

Commit

Permalink
Fix email confirmation returning type.
Browse files Browse the repository at this point in the history
  • Loading branch information
octet-stream committed Sep 6, 2019
1 parent 5664616 commit 2a23546
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/api/schema/mutation/authConfirmEmail.mjs
@@ -1,9 +1,10 @@
import {GraphQLString as TString, GraphQLBoolean as TBoolean} from "graphql"
import {GraphQLString as TString} from "graphql"

import TAuthTokens from "api/type/auth/TAuthTokens"
import confirm from "api/resolve/mutation/auth/confirmEmail"

const resolve = {
type: TBoolean,
type: TAuthTokens,
required: true,
handler: confirm,
descriotion: "Executes account confirmation using given token. "
Expand Down

0 comments on commit 2a23546

Please sign in to comment.