Use camelCase instead of snake_case
This commit is contained in:
parent
162ace2fd6
commit
8ba87443ca
7 changed files with 19 additions and 19 deletions
|
@ -45,8 +45,8 @@ export default (params: any, user: ILocalUser) => new Promise(async (res, rej) =
|
|||
// Delete
|
||||
await del(file);
|
||||
|
||||
// Publish file_deleted event
|
||||
publishDriveStream(user._id, 'file_deleted', file._id);
|
||||
// Publish fileDeleted event
|
||||
publishDriveStream(user._id, 'fileDeleted', file._id);
|
||||
|
||||
res();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue