Skip to content

Commit 74072ef

Browse files
Update CHANGELOG
1 parent 6e3ee84 commit 74072ef

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Fixed
11+
12+
- Adds `VtexIdclientAutCookie` to the headers when sending requests to the Rewriter app.
13+
1014
## [1.0.2] - 2025-09-02
1115

1216
### Fixed

src/clients/apps/Rewriter.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,11 @@ export class Rewriter extends AppGraphQLClient {
3434
constructor(context: IOContext, options: InstanceOptions) {
3535
super('vtex.rewriter@1.x', context, {
3636
...options,
37-
headers: { ...options.headers, 'cache-control': 'no-cache' },
37+
headers: {
38+
...options.headers,
39+
'cache-control': 'no-cache',
40+
VtexIdclientAutCookie: context.authToken,
41+
},
3842
retries: 5,
3943
timeout: 10000,
4044
})

0 commit comments

Comments
 (0)