Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 53f6182

Browse files
fix syntax error
1 parent ca5a833 commit 53f6182

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/services/paymentService.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,7 @@ async function createPayment(payment) {
8585
const paymentDetailId = await paymentDetailIdGen.getNextId()
8686
const paymentId = await paymentIdGen.getNextId()
8787
const insertDetail = await prepare(connection, INSERT_PAYMENT_DETAIL)
88-
await insertDetail.executeAsync([paymentDetailId, payment.amount, payment.amount, payment.statusId, payment.modificationRationaleId, payment.desc, payment.typeId, payment.methodId, payment.projectId, payment.charityInd, payment.amount, payment.installmentNumber, payment.createUser, payment.
89-
])
88+
await insertDetail.executeAsync([paymentDetailId, payment.amount, payment.amount, payment.statusId, payment.modificationRationaleId, payment.desc, payment.typeId, payment.methodId, payment.projectId, payment.charityInd, payment.amount, payment.installmentNumber, payment.createUser, payment.v5ChallengeId])
9089
const insertPayment = await prepare(connection, INSERT_PAYMENT)
9190
await insertPayment.executeAsync([paymentId, payment.memberId, paymentDetailId])
9291
const insertDetailXref = await prepare(connection, INSERT_PAYMENT_DETAIL_XREF)

0 commit comments

Comments
 (0)