Skip to content

Commit 612491d

Browse files
committed
Lint
1 parent d0f752d commit 612491d

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/billing/cloudpayments.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ plan monthly charge: ${data.cloudPayments?.recurrent.amount} ${body.Currency}`
557557

558558
await this.sendReceipt(workspace, tariffPlan, userEmail);
559559

560-
let messageText = ''
560+
let messageText = '';
561561

562562
if (data.cloudPayments?.recurrent.startDate) {
563563
messageText = `✅ [Billing / Pay] New payment
@@ -566,16 +566,14 @@ amount: ${+body.Amount} ${body.Currency}
566566
next payment date: ${data.cloudPayments?.recurrent.startDate}
567567
workspace id: ${workspace._id}
568568
date of operation: ${body.DateTime}
569-
subscription id: ${body.SubscriptionId}`
570-
569+
subscription id: ${body.SubscriptionId}`;
571570
} else {
572571
messageText = `✅ [Billing / Pay] New Recurrent payment
573572
574573
amount: ${+body.Amount} ${body.Currency}
575574
workspace id: ${workspace._id}
576575
date of operation: ${body.DateTime}
577-
subscription id: ${body.SubscriptionId}`
578-
576+
subscription id: ${body.SubscriptionId}`;
579577
}
580578

581579
this.handleSendingToTelegramError(telegram.sendMessage(messageText, TelegramBotURLs.Money));

0 commit comments

Comments
 (0)