[ad_1]
logout’; } function glUserDataResponseApi(glUserId){ var accessToken = accessToken; var apiEndpoint = ` fetch(apiEndpoint, method: “GET”, headers: ‘Authorization’: ‘Bearer ‘ + accessToken, ‘Content-type’: ‘application/json; charset=UTF-8’ ).then((response) => response.json()) .then((json) => //console.log(json); if(json.status==”Success”) var glUserName = json.data.user_name.split(‘ ‘); document.querySelector (‘#glUserName’).innerHTML = `Welcome $glUserName(0)`; ); ,
[ad_2]