mirror of
https://github.com/anomalyco/opencode.git
synced 2026-02-01 22:48:16 +00:00
fix(app): broken
This commit is contained in:
@@ -627,7 +627,7 @@ function createGlobalSync() {
|
||||
}),
|
||||
),
|
||||
retry(() =>
|
||||
globalSDK.client.global.configGet().then((x) => {
|
||||
globalSDK.client.config.get().then((x) => {
|
||||
setGlobalStore("config", x.data!)
|
||||
}),
|
||||
),
|
||||
@@ -682,7 +682,7 @@ function createGlobalSync() {
|
||||
bootstrap,
|
||||
updateConfig: async (config: Config) => {
|
||||
setGlobalStore("reload", "pending")
|
||||
const response = await globalSDK.client.global.configUpdate({ config })
|
||||
const response = await globalSDK.client.config.update({ config })
|
||||
setTimeout(() => {
|
||||
setGlobalStore("reload", "complete")
|
||||
}, 1000)
|
||||
|
||||
Reference in New Issue
Block a user