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

Commit 0881712

Browse files
fix typo
1 parent a6d190c commit 0881712

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/paymentService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ async function paymentExists(payment, connection) {
6262
logger.error(`Error in 'paymentExists' ${e}`)
6363
throw e
6464
} finally {
65-
if (!existingConnection) await connection.closeAsync()
65+
if (!connection) await connection.closeAsync()
6666
}
6767
}
6868

0 commit comments

Comments
 (0)