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
+1 -1
View File
@@ -21,7 +21,7 @@ class BackdropScreensaver {
Limit: 200
};
const apiClient = ConnectionManager.currentApiClient();
const apiClient = window.ConnectionManager.currentApiClient();
apiClient.getItems(apiClient.getCurrentUserId(), query).then((result) => {
if (result.Items.length) {
import('../../components/slideshow/slideshow').then(({default: Slideshow}) => {