fixes organisation logo not showing
This commit is contained in:
parent
b588b9a194
commit
778dbf0cdb
|
@ -1,5 +1,5 @@
|
|||
<script>
|
||||
import { goto, beforeUrlChange } from "@roxi/routify"
|
||||
import { goto } from "@roxi/routify"
|
||||
import { Button, Heading, Body, Divider, Layout, Modal } from "@budibase/bbui"
|
||||
import { datasources, integrations, queries, tables } from "stores/backend"
|
||||
import { notifications } from "@budibase/bbui"
|
||||
|
|
|
@ -37,7 +37,11 @@
|
|||
async function uploadLogo(file) {
|
||||
let data = new FormData()
|
||||
data.append("file", file)
|
||||
const res = await post("/api/admin/configs/upload/settings/logo", data, {})
|
||||
const res = await post(
|
||||
"/api/admin/configs/upload/settings/logoUrl",
|
||||
data,
|
||||
{}
|
||||
)
|
||||
return await res.json()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue