Skip to content

Commit 3b179b4

Browse files
authored
Rename app id header (#30)
1 parent c4f14e8 commit 3b179b4

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@nylas/connect": patch
3+
---
4+
5+
Changed the header name from `x-nylas-application-public-id` to improve API consistency.
6+

packages/nylas-connect/src/connect-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export class NylasConnect {
6161
private static readonly NYLAS_CONNECT_VERSION: string = pkg.version;
6262
private static readonly NYLAS_CONNECT_HEADER = "x-nylas-connect" as const;
6363
private static readonly NYLAS_APPLICATION_ID_HEADER =
64-
"x-nylas-public-application-id" as const;
64+
"x-nylas-application-public-id" as const;
6565

6666
constructor(config: ConnectConfig = {}) {
6767
// Resolve configuration with environment variables and defaults

0 commit comments

Comments
 (0)