fix media mime guessing when uploading to entity

This commit is contained in:
dswbx
2025-02-20 11:32:24 +01:00
parent eaa7276173
commit 94c40de011
10 changed files with 81 additions and 19 deletions

View File

@@ -111,6 +111,7 @@ describe("EventManager", async () => {
emgr.onEvent(ReturnEvent, async () => "1", "sync");
emgr.onEvent(ReturnEvent, async () => "0", "sync");
// @todo: fix this
// @ts-expect-error must be string
emgr.onEvent(ReturnEvent, async () => 0, "sync");