fix s3 adapter

This commit is contained in:
dswbx committed 2025-02-14 11:42:26 +01:00
1 parent 9c38c8f2ad
commit 24e69eec90
6 files changed
+16 -25

No files matched your search

+2 -1
View File
@@ -89,7 +89,8 @@ export class MediaController extends Controller {
);
}
return c.json(await this.getStorage().uploadFile(body, filename), HttpStatus.CREATED);
const res = await this.getStorage().uploadFile(body, filename);
return c.json(res, HttpStatus.CREATED);
});
// add upload file to entity