Fix #22
This commit is contained in:
1 parent
61662f5105
commit
f48105b885
1 file changed
+2
-2
@@ -267,12 +267,12 @@ const Mutation = new GraphQLObjectType({
|
||||
updateSessionToken: {
|
||||
type: UserType,
|
||||
args: {
|
||||
authId: {type: GraphQLString},
|
||||
userId: {type: GraphQLString},
|
||||
sessionToken: {type: GraphQLString}
|
||||
},
|
||||
resolve (parent, args) {
|
||||
let key = {
|
||||
authId: decodeURI(args.authId)
|
||||
_id: decodeURI(args.userId)
|
||||
}
|
||||
|
||||
let updatedUser = {
|
||||
|
||||
Reference in new issue
Block a user