Skip to content

Commit 69890fa

Browse files
committed
added prettier
1 parent 6af4991 commit 69890fa

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/schema/money/queries.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,12 @@ builder.queryFields((t) => ({
9494

9595
paymentLogs.forEach((p) => {
9696
const key = `${p.platform}-${p.currencyId}`;
97-
const blob = p.originalResponseBlob as PaymentResponseBlob | null | undefined;
98-
const isPaid = blob?.payment_status === "paid" || blob?.status === "approved";
97+
const blob = p.originalResponseBlob as
98+
| PaymentResponseBlob
99+
| null
100+
| undefined;
101+
const isPaid =
102+
blob?.payment_status === "paid" || blob?.status === "approved";
99103

100104
if (!consolidatedPayments[key] || !isPaid) {
101105
consolidatedPayments[key] = {

0 commit comments

Comments
 (0)