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

Update src/scripts/clientUtils.js

Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
Julien Machiels 2020-08-17 04:26:38 +02:00 committed by GitHub
parent bc6a1d5734
commit 15010b1426
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -157,8 +157,7 @@ export function capabilities(appHost) {
SupportsPersistentIdentifier: self.appMode === 'cordova' || self.appMode === 'android',
SupportsMediaControl: true
};
appHost.getPushTokenInfo();
return capabilities = Object.assign(capabilities, appHost.getPushTokenInfo());
return Object.assign(capabilities, appHost.getPushTokenInfo());
}
export function selectServer() {