1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge pull request #3974 from thornbill/sonar-lint-2

This commit is contained in:
Bill Thornton 2022-10-02 15:23:55 -04:00 committed by GitHub
commit a0f8340be2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 43 additions and 6 deletions

View file

@ -79,8 +79,7 @@ function generateDeviceId() {
keys.push(navigator.userAgent);
keys.push(new Date().getTime());
if (window.btoa) {
const result = replaceAll(btoa(keys.join('|')), '=', '1');
return result;
return replaceAll(btoa(keys.join('|')), '=', '1');
}
return new Date().getTime();