We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08ffdaf commit 46c77abCopy full SHA for 46c77ab
guides/changesets/installation.md
@@ -71,7 +71,7 @@ class GraphqlController < ApplicationController
71
def execute
72
context = {
73
# ...
74
- changeset_version: headers["API-Version"], # <- Your header here. Choose something for API clients to pass.
+ changeset_version: request.headers["API-Version"], # <- Your header here. Choose something for API clients to pass.
75
}
76
result = MyAppSchema.execute(..., context: context)
77
0 commit comments