Skip to content

Commit

Permalink
remove extra WithOperationContext call
Browse files Browse the repository at this point in the history
  • Loading branch information
bickyeric committed Oct 3, 2021
1 parent 1a0b19f commit 1e9bc10
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions graphql/handler/transport/http_post.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ func (h POST) Do(w http.ResponseWriter, r *http.Request, exec graphql.GraphExecu
writeJson(w, resp)
return
}
ctx := graphql.WithOperationContext(r.Context(), rc)
responses, ctx := exec.DispatchOperation(ctx, rc)
responses, ctx := exec.DispatchOperation(r.Context(), rc)
writeJson(w, responses(ctx))
}

0 comments on commit 1e9bc10

Please sign in to comment.