added more hooks
This commit is contained in:
@@ -495,6 +495,8 @@ class FileController {
|
||||
const userID = req.user._id;
|
||||
const fileID = req.body.id;
|
||||
|
||||
console.log("id", fileID);
|
||||
|
||||
await this.chunkService.deleteFile(userID, fileID);
|
||||
|
||||
res.send();
|
||||
|
||||
Reference in New Issue
Block a user