docs(fix) minor typo in auth0 integration guide (#3450)

Variable should be "userId" not "id", will throw an error by GraphQL server otherwise.
This commit is contained in:
Fabian 2019-12-19 12:20:10 +01:00 committed by Shahidh K Muhammed
parent b3e0595a9d
commit 528f16a1e5

View File

@ -210,7 +210,7 @@ Using Auth0 Rules again, add the following rule which will insert a new user eve
affected_rows
}
}`
const graphqlReq = { "query": upsertUserQuery, "variables": { "id": userId } }
const graphqlReq = { "query": upsertUserQuery, "variables": { "userId": userId } }
request.post({
headers: {'content-type' : 'application/json', 'x-hasura-admin-secret': hasuraAdminSecret},