@@ -111,7 +111,7 @@ Details:
111111workspaceId: ${ workspaceId }
112112tariffPlanId: ${ tariffPlanId }
113113userId: ${ 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}
530529date of operation: ${ body . DateTime }
531530first payment date: ${ data . cloudPayments ?. recurrent . startDate }
532531sum: ${ 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}
552551workspace id: ${ workspace . _id }
553552date of operation: ${ body . DateTime }
554553subscription 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