Skip to content

Commit 6070a77

Browse files
committed
fix: restore clientUserAgent in Indexer DirectContext calls
Agent-Id: agent-811a4bad-9e7b-4146-9277-a40cdc885edc
1 parent 1dad310 commit 6070a77

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/indexer.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ export class Indexer {
198198
const context = await DirectContext.create({
199199
apiKey: this.apiKey,
200200
apiUrl: this.apiUrl,
201+
clientUserAgent: this.clientUserAgent,
201202
});
202203

203204
// Fetch all files from source
@@ -261,6 +262,7 @@ export class Indexer {
261262
const context = await DirectContext.import(previousState.contextState, {
262263
apiKey: this.apiKey,
263264
apiUrl: this.apiUrl,
265+
clientUserAgent: this.clientUserAgent,
264266
});
265267

266268
// Remove deleted files

0 commit comments

Comments
 (0)