mirror of
https://github.com/BreizhHardware/Jellystat.git
synced 2026-01-18 16:27:20 +01:00
null config fix for threaded tasks using plugins endpoint
This commit is contained in:
@@ -454,7 +454,10 @@ class EmbyAPI {
|
||||
|
||||
async getInstalledPlugins() {
|
||||
if (!this.configReady) {
|
||||
return [];
|
||||
const success = await this.#fetchConfig();
|
||||
if (!success) {
|
||||
return [];
|
||||
}
|
||||
}
|
||||
try {
|
||||
let url = `${this.config.JF_HOST}/plugins`;
|
||||
|
||||
@@ -452,7 +452,10 @@ class JellyfinAPI {
|
||||
|
||||
async getInstalledPlugins() {
|
||||
if (!this.configReady) {
|
||||
return [];
|
||||
const success = await this.#fetchConfig();
|
||||
if (!success) {
|
||||
return [];
|
||||
}
|
||||
}
|
||||
try {
|
||||
let url = `${this.config.JF_HOST}/plugins`;
|
||||
|
||||
Reference in New Issue
Block a user