Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support custom headers init and in request #191

Merged
merged 1 commit into from
Sep 30, 2024
Merged

Conversation

ericingram
Copy link
Contributor

This is needed by storefront apps to pass headers to the admin API.

  • Support option headers in swell.init() passed along all requests
  • Support option headers in swell.request() combined with init option

@swellmike swellmike merged commit 1747c81 into master Sep 30, 2024
1 check passed
@swellmike swellmike deleted the feature/header-option branch September 30, 2024 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants