fix deposit completed template name for PM

This commit is contained in:
Akinwale Ariwodola 2017-09-25 17:19:30 +01:00
parent 2395ad3b66
commit 5a072e7036

2
app.js
View file

@ -158,7 +158,7 @@ const processCompletedDeposits = (callback) => {
if (res.length > 0) {
return async.eachSeries(res, (completedDeposit, ecb) => {
setTimeout(() => {
sendPMUsingTemplate('ondeposit.complete', { amount: completedDeposit.Amount, balance: completedDeposit.Balance },
sendPMUsingTemplate('ondeposit.completed', { amount: completedDeposit.Amount, balance: completedDeposit.Balance },
'Deposit completed!', completedDeposit.Username, (err) => {
if (err) {
return ecb(err, null);