Skip to content

Commit

Permalink
remove extra WithOperationContext call (#1641)
Browse files Browse the repository at this point in the history
  • Loading branch information
bickyeric authored Oct 12, 2021
1 parent 35199c4 commit 629c91a
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 629c91a

Please sign in to comment.