We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 04793ad + 5079917 commit feb5df0Copy full SHA for feb5df0
docs/usage/graphql_storefront.md
@@ -39,7 +39,7 @@ QUERY
39
40
# You may not need the "Shopify-Storefront-Buyer-IP" header, see its documentation:
41
# https://shopify.dev/docs/api/usage/authentication#making-server-side-requests
42
-response = client.query(query: query, headers: { "Shopify-Storefront-Buyer-IP": request.ip })
+response = client.query(query: query, headers: { "Shopify-Storefront-Buyer-IP": request.remote_ip })
43
# do something with the returned data
44
```
45
0 commit comments