Skip to content

Commit

Permalink
pls work
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurikam2003 committed Jul 31, 2024
1 parent 3dc5636 commit 7939acd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/services/PaymentServices.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ const PaymentServices = {
const frosh = await FroshModel.findOne({ 'payments.paymentIntent': paymentIntent }).then(
(frosh) => {
if (!frosh) {
throw new Error('FROSH_NOT_FOUND');
throw new Error('PAYMENT_NOT_FOUND');
}
return frosh;
},
Expand Down

0 comments on commit 7939acd

Please sign in to comment.