Merge branch 'hotfix/AIO/2024-05-23' into release/AIO/2024-05-24

This commit is contained in:
Patrick Fic
2024-05-23 11:40:35 -07:00

View File

@@ -145,6 +145,7 @@ exports.generate_payment_url = async (req, res) => {
};
exports.postback = async (req, res) => {
try {
logger.log("intellipay-postback", "DEBUG", req.user?.email, null, req.body);
const { body: values } = req;
@@ -157,7 +158,6 @@ exports.postback = async (req, res) => {
return;
}
try {
if (values.invoice) {
//This is a link email that's been sent out.
const job = await gqlClient.request(queries.GET_JOB_BY_PK, {