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

Commit 5b18f26

Browse files
Merge pull request #15 from topcoder-platform/develop
deploy fix
2 parents df727d2 + e6aae4f commit 5b18f26

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/services/paymentService.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,9 @@ async function paymentExists(payment, connection) {
7575
* @param {Object} payment the payment info
7676
*/
7777
async function createPayment(payment) {
78+
let connection
7879
try {
79-
const connection = await helper.getInformixConnection()
80+
connection = await helper.getInformixConnection()
8081
await connection.beginTransactionAsync()
8182

8283
const existing = await paymentExists(payment, connection)

0 commit comments

Comments
 (0)