Skip to content

Commit

Permalink
Fix bug from previous PR
Browse files Browse the repository at this point in the history
  • Loading branch information
timleslie committed Jun 17, 2020
1 parent 3ecf744 commit c857bc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo-projects/meetup/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ exports.customSchema = {
const requestedAt = new Date(now).toISOString();
const expiresAt = new Date(now + tokenExpiration).toISOString();

const { errors: userErrors, data: userData } = await context.executeQuery({
const { errors: userErrors, data: userData } = await context.executeGraphQL({
context: context.createContext({ skipAccessControl: true }),
query: `
query findUserByEmail($email: String!) {
Expand Down

0 comments on commit c857bc6

Please sign in to comment.