mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 12:37:20 +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