Created
November 16, 2018 01:06
-
-
Save benawad/aefa152b81004653983c1c49843d2cdd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GraphQLHTTP(req => { | |
console.log(req.user); | |
return { | |
schema: motobanSchema, | |
graphiql: true, | |
context: { | |
SECRET, | |
user: req.user | |
} | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment