lint fix
This commit is contained in:
parent
98b1bbc655
commit
677106a58b
|
@ -11,10 +11,10 @@ export function createOrganisationStore() {
|
||||||
set(json)
|
set(json)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
set({
|
set({
|
||||||
platformUrl: '',
|
platformUrl: "",
|
||||||
logoUrl: '',
|
logoUrl: "",
|
||||||
docsUrl: '',
|
docsUrl: "",
|
||||||
company: ''
|
company: "",
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -23,14 +23,14 @@ export function createOrganisationStore() {
|
||||||
subscribe,
|
subscribe,
|
||||||
save: async config => {
|
save: async config => {
|
||||||
try {
|
try {
|
||||||
await api.post('/api/admin/configs', { type: 'settings', config})
|
await api.post("/api/admin/configs", { type: "settings", config })
|
||||||
await init()
|
await init()
|
||||||
return { status: 200 }
|
return { status: 200 }
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
return { error }
|
return { error }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
init
|
init,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue