Skip to content

Commit

Permalink
Merge pull request #256 from vianneynara/feature/255-fix-purchase-pay…
Browse files Browse the repository at this point in the history
…ment-type-not-being-parsed-properly

Fix Payment Type not being parsed properly
  • Loading branch information
vianneynara authored Dec 9, 2024
2 parents 899f670 + 9e46454 commit d5587f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public static Specification<Purchase> withPaymentType(PaymentType paymentType) {
if (paymentType == null)
return null;

return cb.equal(root.get("paymentType"), paymentType.getType());
return cb.equal(root.get("paymentType"), paymentType);
};
}

Expand Down

0 comments on commit d5587f8

Please sign in to comment.