Skip to content

Commit

Permalink
Debug send-referral: print req.body
Browse files Browse the repository at this point in the history
  • Loading branch information
htysc committed Dec 9, 2023
1 parent e1553ae commit 59e900e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/services/partnerNetwork/referrals.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ async function receiveReferral(req, res, next) {
return res.status(200).json({success: true});
} catch (e) {
console.log(e);
return res.status(400).json({message: e?.message});
return res.status(400).json({message: JSON.stringify(req.body)});
}
}

Expand Down

0 comments on commit 59e900e

Please sign in to comment.