default to int
This commit is contained in:
parent
cfc3975684
commit
086be1ab6b
1 changed files with 2 additions and 2 deletions
|
|
@ -81,7 +81,7 @@ export function getSessionIdValue(){
|
|||
}
|
||||
|
||||
/*
|
||||
Gets value of skey cookie, returns empty string if not found.
|
||||
Gets value of skey cookie, returns 0 if not found.
|
||||
*/
|
||||
export function getSessionKeyValue(){
|
||||
const cookieValue = getCookieByName(cookieNames.SESSION_KEY);
|
||||
|
|
@ -90,7 +90,7 @@ export function getSessionKeyValue(){
|
|||
return cookieValue;
|
||||
}
|
||||
|
||||
return '';
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue