Skip to content

Commit

Permalink
feat(provider): prettier fix
Browse files Browse the repository at this point in the history
prettier fix

gh-0
  • Loading branch information
Tyagi-Sunny committed Dec 12, 2024
1 parent 424f20b commit ae7e1d4
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/providers/sdk/stripe/adapter/invoice.adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,14 @@ export class StripeInvoiceAdapter implements IAdapter<IStripeInvoice> {
}
: undefined,
/* eslint-disable-next-line @typescript-eslint/no-explicit-any */
charges: resp.lines?.data.map((lineItem: any) => ({
// NOSONAR
amount: lineItem.amount / 100, // divided by 100 because the lineItem.amount is coming in cents
description: lineItem.description,
})),
charges: resp.lines?.data.map(
(
lineItem: any, // NOSONAR
) => ({
amount: lineItem.amount / 100, // divided by 100 because the lineItem.amount is coming in cents
description: lineItem.description,
}),
),
options: {
autoAdvnace: resp.auto_advance || false,
},
Expand Down

0 comments on commit ae7e1d4

Please sign in to comment.