Skip to content

Commit a047258

Browse files
committed
Lint
1 parent 6f812e5 commit a047258

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/billing/cloudpayments.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Details:
111111
workspaceId: ${workspaceId}
112112
tariffPlanId: ${tariffPlanId}
113113
userId: ${userId}`
114-
, req.query);
114+
, req.query);
115115

116116
return;
117117
}
@@ -501,7 +501,6 @@ userId: ${userId}`
501501
* Refund the money that were charged to link a card
502502
*/
503503
if (data.isCardLinkOperation) {
504-
505504
await cloudPaymentsApi.cancelPayment(body.TransactionId);
506505

507506
const member = await this.getMember(data.userId, workspace);
@@ -530,7 +529,7 @@ workspace id: ${workspace._id}
530529
date of operation: ${body.DateTime}
531530
first payment date: ${data.cloudPayments?.recurrent.startDate}
532531
sum: ${data.cloudPayments?.recurrent.amount}${body.Currency}`
533-
, TelegramBotURLs.Money));
532+
, TelegramBotURLs.Money));
534533
} else {
535534
/**
536535
* Russia code from ISO 3166-1
@@ -552,8 +551,7 @@ next payment date: ${data.cloudPayments?.recurrent.startDate}
552551
workspace id: ${workspace._id}
553552
date of operation: ${body.DateTime}
554553
subscription id: ${body.SubscriptionId}`
555-
, TelegramBotURLs.Money));
556-
554+
, TelegramBotURLs.Money));
557555
}
558556
} catch (e) {
559557
const error = e as Error;
@@ -672,7 +670,7 @@ subscription id: ${body.SubscriptionId}`
672670
next payment date: ${body.NextTransactionDate}
673671
workspace id: ${body.AccountId}
674672
subscription id: ${body.Id}`
675-
, TelegramBotURLs.Money));
673+
, TelegramBotURLs.Money));
676674
HawkCatcher.send(new Error(`[Billing / Recurrent] New recurrent event with ${body.Status} status`), req.body);
677675

678676
switch (body.Status) {

0 commit comments

Comments
 (0)