add username/email to user-delete event

This commit is contained in:
Barış Soner Uşaklı
2018-10-04 11:08:01 -04:00
parent f9c882cb1d
commit 1bea247748
4 changed files with 11 additions and 7 deletions

View File

@@ -237,7 +237,7 @@ describe('Upload Controllers', function () {
user.delete(1, uid, next);
},
function (next) {
function (userData, next) {
var filePath = path.join(nconf.get('upload_path'), url.replace('/assets/uploads', ''));
file.exists(filePath, next);
},