Skip to content

Commit

Permalink
feat(GraphQL): Webhooks on add/update/delete mutations (GRAPHQL-1045) (
Browse files Browse the repository at this point in the history
…#7494) (#7616)

Please see the [RFC](https://discuss.dgraph.io/t/webhook-lambda-on-add-update-delete-mutations/12904) for more details.

(cherry picked from commit 348119e)

# Conflicts:
#	graphql/schema/testdata/schemagen/output/interface-with-id-directive-and-ID-field.graphql
  • Loading branch information
abhimanyusinghgaur authored and aman-bansal committed Mar 25, 2021
1 parent 9857b63 commit 5427b3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edgraph/graphql.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func ProcessPersistedQuery(ctx context.Context, gqlReq *schema.Request) error {
if err != nil {
return err
}
if _, err := validateToken(accessJwt[0]); err != nil {
if _, err := validateToken(accessJwt); err != nil {
return err
}
}
Expand Down

0 comments on commit 5427b3a

Please sign in to comment.