Skip to content

Commit

Permalink
Use correct seam-workspace header
Browse files Browse the repository at this point in the history
  • Loading branch information
razor-x committed Nov 10, 2023
1 parent efbe4e7 commit d7d29a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/seam/connect/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ const getAuthHeadersForConsoleSessionToken = ({

return {
authorization: `Bearer ${consoleSessionToken}`,
...(workspaceId != null ? { 'seam-workspace-id': workspaceId } : {}),
...(workspaceId != null ? { 'seam-workspace': workspaceId } : {}),
}
}

Expand Down Expand Up @@ -197,7 +197,7 @@ const getAuthHeadersForPersonalAccessToken = ({

return {
authorization: `Bearer ${personalAccessToken}`,
...(workspaceId != null ? { 'seam-workspace-id': workspaceId } : {}),
...(workspaceId != null ? { 'seam-workspace': workspaceId } : {}),
}
}

Expand Down

0 comments on commit d7d29a3

Please sign in to comment.