ui: fix assist calling
This commit is contained in:
parent
bbf6e51231
commit
39f459b852
2 changed files with 525 additions and 488 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
1011
frontend/yarn.lock
1011
frontend/yarn.lock
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue