From 4b49297e2a3b680894d3bd467b93e4f9594ee7d9 Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Fri, 9 Jun 2023 13:43:25 +0100 Subject: [PATCH] fix fmt in billing service --- CommonServer/Services/BillingService.ts | 4 +++- Workers/Index.ts | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CommonServer/Services/BillingService.ts b/CommonServer/Services/BillingService.ts index 20c46e943f..a75f7e5c5e 100644 --- a/CommonServer/Services/BillingService.ts +++ b/CommonServer/Services/BillingService.ts @@ -543,7 +543,9 @@ export class BillingService { public static async voidInvoice( invoiceId: string ): Promise { - const invoice: Stripe.Invoice = await this.stripe.invoices.voidInvoice(invoiceId); + const invoice: Stripe.Invoice = await this.stripe.invoices.voidInvoice( + invoiceId + ); return invoice; } diff --git a/Workers/Index.ts b/Workers/Index.ts index 84bb2b2eb8..748a1ab700 100644 --- a/Workers/Index.ts +++ b/Workers/Index.ts @@ -59,7 +59,6 @@ import './Jobs/StatusPageOwners/SendCreatedResourceEmail'; import './Jobs/StatusPageOwners/SendOwnerAddedEmail'; import './Jobs/StatusPageOwners/SendAnnouncementCreatedEmail'; - const APP_NAME: string = 'workers'; const app: ExpressApplication = Express.getExpressApp();