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

Fix currentApiClient references

This commit is contained in:
Bill Thornton 2020-09-08 13:35:17 -04:00 committed by vitorsemeano
parent 8bc8255a3e
commit 54d71126d9
11 changed files with 14 additions and 14 deletions

View file

@ -113,7 +113,7 @@ class TimeSyncManager {
if (!this.poller) {
this.poller = setTimeout(() => {
this.poller = null;
const apiClient = ConnectionManager.currentApiClient();
const apiClient = window.ConnectionManager.currentApiClient();
const requestSent = new Date();
apiClient.getServerTime().then((response) => {
const responseReceived = new Date();