fix deposit completed template name for PM
This commit is contained in:
parent
2395ad3b66
commit
5a072e7036
1 changed files with 1 additions and 1 deletions
2
app.js
2
app.js
|
@ -158,7 +158,7 @@ const processCompletedDeposits = (callback) => {
|
||||||
if (res.length > 0) {
|
if (res.length > 0) {
|
||||||
return async.eachSeries(res, (completedDeposit, ecb) => {
|
return async.eachSeries(res, (completedDeposit, ecb) => {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
sendPMUsingTemplate('ondeposit.complete', { amount: completedDeposit.Amount, balance: completedDeposit.Balance },
|
sendPMUsingTemplate('ondeposit.completed', { amount: completedDeposit.Amount, balance: completedDeposit.Balance },
|
||||||
'Deposit completed!', completedDeposit.Username, (err) => {
|
'Deposit completed!', completedDeposit.Username, (err) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
return ecb(err, null);
|
return ecb(err, null);
|
||||||
|
|
Loading…
Reference in a new issue