added user api

This commit is contained in:
2021-08-17 21:18:27 +05:30
parent 14e8e11b33
commit c45c69e75f
9 changed files with 15 additions and 14 deletions

View File

@ -63,6 +63,7 @@ const TheContent = () => {
const shib = cookies.get('_shibsession_64656661756c7468747470733a2f2f66736273736f2e73756d6173656e2e6e65742f73686962626f6c657468')
if (shib !== undefined) {
fetchSession().then(() => {
console.log('fetch session');
if (SsoSession.length > 0) {
fetchUser().then(() => {
console.log('requesting user data');