mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-09-21 15:38:40 +03:00
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:
parent
b3e0595a9d
commit
528f16a1e5
@ -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},
|
||||
|
Loading…
Reference in New Issue
Block a user