Use camelCase instead of snake_case

This commit is contained in:
syuilo 2018-10-23 07:01:43 +09:00
parent 162ace2fd6
commit 8ba87443ca
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
7 changed files with 19 additions and 19 deletions

View file

@ -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();
});