Browse Source

fix ci.

main
Gisle Aune 4 years ago
parent
commit
1c4964ea8a
  1. 2
      svelte-ui/src/clients/amplify.ts

2
svelte-ui/src/clients/amplify.ts

@ -26,7 +26,7 @@ async function getAccessToken(): Promise<CognitoAccessToken | null> {
return null;
}
return u.getAccessToken();
return u.getIdToken();
} catch (e) {
return null;
}

Loading…
Cancel
Save