From 4ff4c95a355bdb3db2fc15abd0c1a7cafd687e3a Mon Sep 17 00:00:00 2001 From: VISHNUDAS-tunerlabse Date: Wed, 16 Mar 2022 14:26:51 +0530 Subject: [PATCH] program duplicate --- module/users/helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/users/helper.js b/module/users/helper.js index 5e8aaa08..2497f8e3 100644 --- a/module/users/helper.js +++ b/module/users/helper.js @@ -478,7 +478,7 @@ module.exports = class UsersHelper { importedProjects.data.forEach((importedProject) => { - if( projectSolutionIdIndexMap[importedProject.solutionInformation._id] ) { + if( projectSolutionIdIndexMap[importedProject.solutionInformation._id] !== undefined ) { mergedData[projectSolutionIdIndexMap[importedProject.solutionInformation._id]].projectId = importedProject._id; } else {