-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix buyerIp warning #836
Fix buyerIp warning #836
Conversation
defaultHeaders[STOREFRONT_REQUEST_GROUP_ID_HEADER] = | ||
storefrontHeaders?.requestGroupId || requestGroupId || generateUUID(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@frehner Not related to this PR but should we move STOREFRONT_REQUEST_GROUP_ID_HEADER
to hydrogen-react?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything that is common to using the SFAPI (and not specific to Hydrogen) should be in hydrogen-react, yeah.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Going to wait until a new version of MiniOxygen is released with |
The issue mentioned in this discussion #814 has two parts:
buyerIp
directly to the SFAPI request headers (so it worked) but we were not doing it via hydrogen-react, which was showing a warning. -- 🟩 Fixed in this PR