chore(): Update locale header usage (#14318)
* chore(): Update locale header usage * Create three-kiwis-shave.md * chore(): Update locale header usage
This commit is contained in:
committed by
GitHub
parent
e94e1a4676
commit
c8a7122ba9
@@ -250,7 +250,7 @@ export class Client {
|
||||
// We always want to fetch the up-to-date JWT token before firing off a request.
|
||||
const headers = new Headers(defaultHeaders)
|
||||
const customHeaders = {
|
||||
"content-language": this.locale,
|
||||
"x-medusa-locale": this.locale,
|
||||
...this.config.globalHeaders,
|
||||
...(await this.getJwtHeader_()),
|
||||
...init?.headers,
|
||||
|
||||
Reference in New Issue
Block a user