1
0
Fork 0
mirror of synced 2024-10-03 02:27:06 +13:00

fixes organisation logo not showing

This commit is contained in:
Peter Clement 2021-08-18 00:02:17 +01:00
parent fc0d621124
commit af9bb40bdd

View file

@ -37,7 +37,11 @@
async function uploadLogo(file) {
let data = new FormData()
data.append("file", file)
const res = await post("/api/global/configs/upload/settings/logo", data, {})
const res = await post(
"/api/admin/configs/upload/settings/logoUrl",
data,
{}
)
return await res.json()
}