15088: Adds progress circle when loading the link panel
[arvados-workbench2.git] / src / store / auth / auth-action.ts
index 87eb3f752a9fbaf733fda7664af48a654368eee2..5317ede402c6adeb7663a408317709542eb26ab0 100644 (file)
@@ -37,7 +37,7 @@ export const authActions = unionize({
     REMOTE_CLUSTER_CONFIG: ofType<{ config: Config }>(),
 });
 
-function setAuthorizationHeader(services: ServiceRepository, token: string) {
+export function setAuthorizationHeader(services: ServiceRepository, token: string) {
     services.apiClient.defaults.headers.common = {
         Authorization: `OAuth2 ${token}`
     };