-
Notifications
You must be signed in to change notification settings - Fork 51
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
fix: override header value when invoke #1425
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
NIce catch!
Please add test case for that in createAdminApiClient.test.ts
and a patch changelog entry (instruction: https://github.com/shopware/frontends/blob/main/CONTRIBUTION.md#changelog-preparation )
@shopware/api-client
@shopware/api-gen
@shopware-pwa/cms-base
@shopware-pwa/composables-next
@shopware-pwa/nuxt3-module
@shopware-pwa/helpers-next
commit: |
CodSpeed Performance ReportMerging #1425 will not alter performanceComparing Summary
|
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 @quando1910 !
Description
Reproduce
Set defaut headers:
adminApiClient.defaultHeaders.apply({ "sw-context-token": "xxxxx" });
override when invoke:
Type of change
Bug fix