ui: fix assist calling

This commit is contained in:
nick-delirium 2024-11-12 11:41:11 +01:00
parent bbf6e51231
commit 39f459b852
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0
2 changed files with 525 additions and 488 deletions

View file

@ -127,7 +127,7 @@ export default class SettingsService {
const r = await this.client const r = await this.client
.get('/config/assist/credentials'); .get('/config/assist/credentials');
const j = await r.json(); const j = await r.json();
return j.data || {}; return j.data || null;
} catch (reason) { } catch (reason) {
return Promise.reject(reason); return Promise.reject(reason);
} }

File diff suppressed because it is too large Load diff