1
0
Fork 0
mirror of synced 2024-10-02 10:08:09 +13:00

fixes organisation logo not showing

This commit is contained in:
Peter Clement 2021-08-18 00:02:17 +01:00
parent b588b9a194
commit 778dbf0cdb
2 changed files with 6 additions and 2 deletions

View file

@ -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"

View file

@ -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()
}