one more bit of logic

This commit is contained in:
FrankRua 2022-04-14 11:48:35 -04:00
parent b28f03d76c
commit d13f2ec9e5

View file

@ -62,7 +62,7 @@ export function getDeviceIdValue(){
const cookieValuesSplit = cookieValue.split('=');
// If this is the only value, just use that.
if(cookieValuesSplit.length === 2){
if(cookieValuesSplit.length === 2 && cookieValuesSplit[0] === 'did'){
return cookieValuesSplit[1];
}