Skip to content

Commit 0fffd29

Browse files
committed
fix: array on own line
1 parent 58d8861 commit 0fffd29

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/payments/services/payment-enrollment-validator.service.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ export class PaymentEnrollmentValidatorService {
1212

1313
async validateEnrollmentExists(enrollmentId: string): Promise<boolean> {
1414
if (!enrollmentId) return true;
15-
const result = await this.paymentRepo.query('SELECT id FROM enrollments WHERE id = $1', [enrollmentId]);
15+
const result = await this.paymentRepo.query('SELECT id FROM enrollments WHERE id = $1', [
16+
enrollmentId,
17+
]);
1618
return result.length > 0;
1719
}
1820

0 commit comments

Comments
 (0)