Skip to content

Commit

Permalink
added tenant id header (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
GurinderRawala authored Oct 4, 2024
1 parent 2710396 commit 71c9177
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions public/app/core/services/backend_srv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ export class BackendSrv implements BackendService {
if (codeRabbitOrg) {
options.headers = options.headers ?? {};
options.headers['x-coderabbit-organization'] = codeRabbitOrg.id;
options.headers['x-tenant-id'] = sessionStorage.getItem('firebaseTenantId');
}

if (options.url.startsWith('/')) {
Expand Down

0 comments on commit 71c9177

Please sign in to comment.