fix(app): broken
This commit is contained in:
parent
47fa496701
commit
ac7e674a87
1 changed files with 2 additions and 2 deletions
|
|
@ -627,7 +627,7 @@ function createGlobalSync() {
|
||||||
}),
|
}),
|
||||||
),
|
),
|
||||||
retry(() =>
|
retry(() =>
|
||||||
globalSDK.client.global.configGet().then((x) => {
|
globalSDK.client.config.get().then((x) => {
|
||||||
setGlobalStore("config", x.data!)
|
setGlobalStore("config", x.data!)
|
||||||
}),
|
}),
|
||||||
),
|
),
|
||||||
|
|
@ -682,7 +682,7 @@ function createGlobalSync() {
|
||||||
bootstrap,
|
bootstrap,
|
||||||
updateConfig: async (config: Config) => {
|
updateConfig: async (config: Config) => {
|
||||||
setGlobalStore("reload", "pending")
|
setGlobalStore("reload", "pending")
|
||||||
const response = await globalSDK.client.global.configUpdate({ config })
|
const response = await globalSDK.client.config.update({ config })
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
setGlobalStore("reload", "complete")
|
setGlobalStore("reload", "complete")
|
||||||
}, 1000)
|
}, 1000)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue