Skip to content

Commit 7808087

Browse files
abelanger5wsehl
authored andcommitted
fix: use exchange token interceptor for cloud endpoints (#3658)
1 parent a3640c1 commit 7808087

2 files changed

Lines changed: 184 additions & 122 deletions

File tree

frontend/app/src/lib/api/api.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export const controlPlaneApi = new ControlPlaneApi({
4242
});
4343

4444
api.instance.interceptors.request.use(exchangeTokenInterceptor);
45+
cloudApi.instance.interceptors.request.use(exchangeTokenInterceptor);
4546

4647
export const LAST_TENANT_STORAGE_KEY = 'lastTenant';
4748

0 commit comments

Comments
 (0)