refactor: async/await socket.io

This commit is contained in:
Barış Soner Uşaklı
2019-09-15 02:14:51 -04:00
parent 9d41955bca
commit a7d2b8a1fe
17 changed files with 916 additions and 1446 deletions

View File

@@ -218,7 +218,7 @@ Emailer.send = function (template, uid, params, callback) {
});
},
], function (err) {
return callback(err);
callback(err);
});
};