Yes yes, eslint
This commit is contained in:
parent
040424f462
commit
4aec75ef69
1 changed files with 2 additions and 2 deletions
|
@ -131,8 +131,8 @@ export function getStoredSessionOwner() {
|
||||||
* for a real user. If there is no stored session, return null.
|
* for a real user. If there is no stored session, return null.
|
||||||
*/
|
*/
|
||||||
export function getStoredSessionIsGuest() {
|
export function getStoredSessionIsGuest() {
|
||||||
const {hsUrl, isUrl, accessToken, userId, deviceId, isGuest} = _getLocalStorageSessionVars();
|
const sessVars = _getLocalStorageSessionVars();
|
||||||
return hsUrl && userId && accessToken ? isGuest : null;
|
return sessVars.hsUrl && sessVars.userId && sessVars.accessToken ? sessVars.isGuest : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue