This commit is contained in:
Luis Fernando Molina committed 2018-10-31 19:54:27 +01:00
1 parent 61662f5105
commit f48105b885
1 file changed
+2 -2
+2 -2
View File
@@ -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 = {