added user api

This commit is contained in:
2021-08-17 21:25:57 +05:30
parent 14f1a8fb18
commit b24e405f1c
9 changed files with 15 additions and 15 deletions

View File

@ -65,7 +65,7 @@ const TheContent = () => {
fetchSession().then(() => {
console.log('fetch session');
console.log(SsoSession.length);
if (SsoSession.length > 0) {
if (SsoSession !== null) {
fetchUser().then(() => {
console.log('requesting user data');
console.log(UserData);