1
0
Fork 0
mirror of synced 2024-07-07 23:35:49 +12:00

remove log

This commit is contained in:
Keviin Åberg Kultalahti 2021-05-12 17:21:15 +02:00
parent 04e0f7632f
commit 11c8c74111

View file

@ -26,7 +26,9 @@ export function createOrganisationStore() {
async function save(config) {
const res = await api.post("/api/admin/configs", { type: "settings", config, _rev: get(store)._rev } )
const json = await res.json()
console.log(json)
if (json.status) {
return json
}
await init()
return { status: 200 }
}