update text message and code

This commit is contained in:
2024-03-01 15:48:14 +07:00
parent b6b043b0a2
commit 6fe3ecc89f
@@ -141,8 +141,8 @@ const paymentRecon = async (req, res) => {
// check payment recon status is enable
if (getPartner.b_payment_recon != true) {
result = {
code: '426',
message: 'Payment Recon for this partner is not allowed.',
code: '444',
message: 'Partner unable to receive payment reconciliations',
data: {},
};
@@ -174,8 +174,9 @@ const paymentRecon = async (req, res) => {
if (checkReservation.i_partner != partner_id) {
result = {
code: '426',
message: 'Partner is different. Please check your token',
code: '443',
message:
'Partner for payment reconciliation and transaction does not match',
data: {},
};