mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-28 09:34:33 +01:00
uploaders: allow deleting files by CID
This commit is contained in:
@@ -20,7 +20,7 @@ const mediaController: AppController = async (c) => {
|
||||
|
||||
try {
|
||||
const { file } = result.data;
|
||||
const { cid } = await s3Uploader(file);
|
||||
const { cid } = await s3Uploader.upload(file);
|
||||
|
||||
return c.json({
|
||||
id: cid,
|
||||
|
||||
Reference in New Issue
Block a user