Skip to content

Commit 8106e71

Browse files
authored
fix(payment-stripe): json query select (#62)
1 parent 250487d commit 8106e71

File tree

1 file changed

+1
-1
lines changed
  • microservices/payment-stripe/src/services/payment-gateway

1 file changed

+1
-1
lines changed

microservices/payment-stripe/src/services/payment-gateway/stripe.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1619,7 +1619,7 @@ class Stripe extends Abstract {
16191619
private async getCustomerByAccountId(accountId: string): Promise<Customer> {
16201620
const customer = await this.customerRepository
16211621
.createQueryBuilder('customer')
1622-
.where("customer.params ->> 'accountId' = :value", { accountId })
1622+
.where("customer.params ->> 'accountId' = :accountId", { accountId })
16231623
.getOne();
16241624

16251625
if (!customer) {

0 commit comments

Comments
 (0)