Skip to content

Commit

Permalink
Change id stripe payment
Browse files Browse the repository at this point in the history
  • Loading branch information
Frdrcpeter007 committed Nov 24, 2023
1 parent c0f8ee3 commit b02f559
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/smart-contract/payment.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ export class PaymentController {
conversionRate: currencyRate,
senderId,
ownerId: patientId,
stripePaymentId: null,
stripePaymentId: "admin",
voucher: voucherJSON,
status: TransactionStatus.PENDING,
});
Expand Down Expand Up @@ -329,7 +329,7 @@ export class PaymentController {
}
} catch (err) {
logError(`Error processing webhook event: ${err}`);
return { error: 'Failed to process webhook event' };
return { error: 'Failed to process payment event' };

Check warning on line 332 in src/modules/smart-contract/payment.controller.ts

View check run for this annotation

Codecov / codecov/patch

src/modules/smart-contract/payment.controller.ts#L331-L332

Added lines #L331 - L332 were not covered by tests
}
}

Expand Down

0 comments on commit b02f559

Please sign in to comment.