mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-02 16:16:02 +00:00
fix s3 adapter
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user