Skip to content

Commit 1771eee

Browse files
committed
feat(headers): updating name
1 parent cdf433f commit 1771eee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/utils/RestAdapter.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@ export class RestAdapter implements IHttpAdapter {
5151
// Ensure headers object exists and add the custom header
5252
httpRequest.headers = {
5353
...httpRequest.headers,
54-
'X-Cognigy-CLI-Info': cliInfoHeader,
54+
'X-Cognigy-Client-Info': cliInfoHeader,
5555
};
56+
console.log('httpRequest.headers', httpRequest.headers);
5657

5758
if (httpRequest.withAuthentication) {
5859
const authenticationHeaders =

0 commit comments

Comments
 (0)