Yes yes, eslint

pull/21833/head
David Baker 2019-05-14 12:11:07 +01:00
parent c11d26d809
commit 7ac82a23ab
1 changed files with 2 additions and 2 deletions

View File

@ -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;
} }
/** /**