Skip to content

Commit d2cc771

Browse files
committed
Fix
1 parent e8fd7ec commit d2cc771

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/billing/cloudpayments.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ userId: ${userId}`
528528
});
529529

530530
this.handleSendingToTelegramError(telegram.sendMessage(`✅ [Billing / Pay] Card linked
531-
Transaction details:
531+
532532
workspace id: ${workspace._id}
533533
date of operation: ${body.DateTime}
534534
first payment date: ${data.cloudPayments?.recurrent.startDate}
@@ -548,7 +548,7 @@ sum: ${data.cloudPayments?.recurrent.amount}${body.Currency}`
548548
await this.sendReceipt(workspace, tariffPlan, userEmail);
549549

550550
this.handleSendingToTelegramError(telegram.sendMessage(`✅ [Billing / Pay] New payment
551-
Transaction details:
551+
552552
amount: ${+body.Amount} ${body.Currency}
553553
next payment date: ${data.cloudPayments?.recurrent.startDate}
554554
workspace id: ${workspace._id}
@@ -667,12 +667,12 @@ subscription id: ${body.SubscriptionId}`
667667
console.log('💎 CloudPayments /recurrent request', body);
668668

669669
this.handleSendingToTelegramError(telegram.sendMessage(`✅ [Billing / Recurrent] New recurrent transaction
670-
Transaction details:
671-
amount: ${+body.Amount} ${body.Currency}
672-
next payment date: ${body.NextTransactionDate}
673-
workspace id: ${body.AccountId}
674-
subscription id: ${body.Id}`
675-
, TelegramBotURLs.Money));
670+
671+
amount: ${+body.Amount} ${body.Currency}
672+
next payment date: ${body.NextTransactionDate}
673+
workspace id: ${body.AccountId}
674+
subscription id: ${body.Id}`
675+
, TelegramBotURLs.Money));
676676
HawkCatcher.send(new Error(`[Billing / Recurrent] New recurrent event with ${body.Status} status`), req.body);
677677

678678
switch (body.Status) {

0 commit comments

Comments
 (0)