removed async
This commit is contained in:
@ -111,9 +111,9 @@ const TheContent = () => {
|
||||
}
|
||||
}
|
||||
|
||||
async function get_token_from_storage_or_cookie() {
|
||||
function get_token_from_storage_or_cookie() {
|
||||
const cookies = new Cookies();
|
||||
const shib = await cookies.get('_shibsession_64656661756c7468747470733a2f2f66627373736f2e62697a736964652e62697a2f73686962626f6c657468');
|
||||
const shib = cookies.get('_shibsession_64656661756c7468747470733a2f2f66627373736f2e62697a736964652e62697a2f73686962626f6c657468')
|
||||
console.log(shib);
|
||||
if (shib !== undefined) {
|
||||
fetchSession().then(() => {
|
||||
@ -141,6 +141,7 @@ const TheContent = () => {
|
||||
}
|
||||
]`;
|
||||
|
||||
|
||||
//const json_str = '[{"jsessonid": "' + UserId + '" , "name": "' + _firstname + ' ' +_lastname+ '", "mailadress":" ' + _email + '", "empcode": "' + _empcode + '"}]';
|
||||
if(_empcode !== null && _empcode !== undefined){
|
||||
if(isCSVPath()){
|
||||
|
||||
Reference in New Issue
Block a user