remove log
This commit is contained in:
parent
04e0f7632f
commit
11c8c74111
1 changed files with 3 additions and 1 deletions
|
@ -26,7 +26,9 @@ export function createOrganisationStore() {
|
||||||
async function save(config) {
|
async function save(config) {
|
||||||
const res = await api.post("/api/admin/configs", { type: "settings", config, _rev: get(store)._rev } )
|
const res = await api.post("/api/admin/configs", { type: "settings", config, _rev: get(store)._rev } )
|
||||||
const json = await res.json()
|
const json = await res.json()
|
||||||
console.log(json)
|
if (json.status) {
|
||||||
|
return json
|
||||||
|
}
|
||||||
await init()
|
await init()
|
||||||
return { status: 200 }
|
return { status: 200 }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue