X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/45c43fb22953b3f54d8e370017b7216c93e1cb83..f71049ee5bf2560fbbca09c1f141e176e1a7eb06:/src/store/auth/auth-action-session.ts diff --git a/src/store/auth/auth-action-session.ts b/src/store/auth/auth-action-session.ts index 43cf9f6d..b32e2050 100644 --- a/src/store/auth/auth-action-session.ts +++ b/src/store/auth/auth-action-session.ts @@ -80,7 +80,7 @@ const getSaltedToken = (clusterId: string, tokenUuid: string, token: string) => return `v2/${tokenUuid}/${hmac}`; }; -const clusterLogin = async (clusterId: string, baseUrl: string, activeSession: Session): Promise<{user: User, token: string}> => { +const clusterLogin = async (clusterId: string, baseUrl: string, activeSession: Session): Promise<{ user: User, token: string }> => { const tokenUuid = await getTokenUuid(activeSession.baseUrl, activeSession.token); const saltedToken = getSaltedToken(clusterId, tokenUuid, activeSession.token); const user = await getUserDetails(baseUrl, saltedToken); @@ -207,7 +207,7 @@ export const initSessions = (authService: AuthService, config: Config, user: Use export const loadSiteManagerPanel = () => async (dispatch: Dispatch) => { try { - dispatch(setBreadcrumbs([{ label: 'Site Manager'}])); + dispatch(setBreadcrumbs([{ label: 'Site Manager' }])); dispatch(validateSessions()); } catch (e) { return;