We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e3ee84 commit 74072efCopy full SHA for 74072ef
2 files changed
CHANGELOG.md
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
8
## [Unreleased]
9
10
+### Fixed
11
+
12
+- Adds `VtexIdclientAutCookie` to the headers when sending requests to the Rewriter app.
13
14
## [1.0.2] - 2025-09-02
15
16
### Fixed
src/clients/apps/Rewriter.ts
@@ -34,7 +34,11 @@ export class Rewriter extends AppGraphQLClient {
34
constructor(context: IOContext, options: InstanceOptions) {
35
super('vtex.rewriter@1.x', context, {
36
...options,
37
- headers: { ...options.headers, 'cache-control': 'no-cache' },
+ headers: {
38
+ ...options.headers,
39
+ 'cache-control': 'no-cache',
40
+ VtexIdclientAutCookie: context.authToken,
41
+ },
42
retries: 5,
43
timeout: 10000,
44
})
0 commit comments