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