From bbf11d2b211a72ff9502da001760b042f3d50af0 Mon Sep 17 00:00:00 2001 From: hichri-louay Date: Thu, 11 Jan 2024 14:18:02 +0100 Subject: [PATCH] add condition for abos titkok --- controllers/campaign.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/campaign.controller.js b/controllers/campaign.controller.js index 229a0450..55163ea1 100644 --- a/controllers/campaign.controller.js +++ b/controllers/campaign.controller.js @@ -1190,7 +1190,7 @@ exports.validateCampaign = async (req, res) => { campaignLink.typeSN, campaignLink.idPost, campaignLink.idUser, - campaignLink.abosNumber, + !isNaN(campaignLink.abosNumber) ? campaignLink.abosNumber : 0, ownerLink, (typeof campaignLink.userExternal !== 'undefined' && campaignLink.userExternal === true) ? messageHashSignature : signature.messageHash , signature.v,