Fix apiclient imports

This commit is contained in:
Bill Thornton
2020-09-08 02:05:02 -04:00
committed by vitorsemeano
parent 7d9208e951
commit a71b0314d4
71 changed files with 424 additions and 425 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import { events } from 'jellyfin-apiclient';
import { Events } from 'jellyfin-apiclient';
import loading from '../components/loading/loading';
import globalize from '../scripts/globalize';
@@ -11,7 +11,7 @@ function init(page, type, providerId) {
import(url).then(({default: factory}) => {
const instance = new factory(page, providerId, {});
events.on(instance, 'submitted', onListingsSubmitted);
Events.on(instance, 'submitted', onListingsSubmitted);
instance.init();
});
}