Skip to content

Commit d7d29a3

Browse files
committed
Use correct seam-workspace header
1 parent efbe4e7 commit d7d29a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/seam/connect/auth.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ const getAuthHeadersForConsoleSessionToken = ({
159159

160160
return {
161161
authorization: `Bearer ${consoleSessionToken}`,
162-
...(workspaceId != null ? { 'seam-workspace-id': workspaceId } : {}),
162+
...(workspaceId != null ? { 'seam-workspace': workspaceId } : {}),
163163
}
164164
}
165165

@@ -197,7 +197,7 @@ const getAuthHeadersForPersonalAccessToken = ({
197197

198198
return {
199199
authorization: `Bearer ${personalAccessToken}`,
200-
...(workspaceId != null ? { 'seam-workspace-id': workspaceId } : {}),
200+
...(workspaceId != null ? { 'seam-workspace': workspaceId } : {}),
201201
}
202202
}
203203

0 commit comments

Comments
 (0)