added async2
This commit is contained in:
@ -113,7 +113,7 @@ const TheContent = () => {
|
|||||||
|
|
||||||
async function get_token_from_storage_or_cookie() {
|
async function get_token_from_storage_or_cookie() {
|
||||||
const cookies = new Cookies();
|
const cookies = new Cookies();
|
||||||
const shib = await cookies.get('_shibsession_64656661756c7468747470733a2f2f66627373736f2e62697a736964652e62697a2f73686962626f6c657468')
|
const shib = await cookies.get('_shibsession_64656661756c7468747470733a2f2f66627373736f2e62697a736964652e62697a2f73686962626f6c657468');
|
||||||
console.log(shib);
|
console.log(shib);
|
||||||
if (shib !== undefined) {
|
if (shib !== undefined) {
|
||||||
fetchSession().then(() => {
|
fetchSession().then(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user