From fb69c7e50ed3d11820d322c6cf8b463d4ef1061b Mon Sep 17 00:00:00 2001 From: praveenKDass <praveendass@shikshalokam.org> Date: Thu, 12 Sep 2024 20:39:42 +0530 Subject: [PATCH] minorChange:added indentation --- module/userProjects/helper.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/module/userProjects/helper.js b/module/userProjects/helper.js index 9666002..67d487f 100644 --- a/module/userProjects/helper.js +++ b/module/userProjects/helper.js @@ -2533,12 +2533,12 @@ module.exports = class UserProjectsHelper { } certificateTemplateDetails[0].issuer.kid = CERTIFICATE_ISSUER_KID; } - let certificateUserName - if(data.userProfile.lastName && data.userProfile.lastName.length > 0){ - certificateUserName = `${data.userProfile.firstName} ${data.userProfile.lastName}` - }else { - certificateUserName = `${data.userProfile.firstName}` - } + let certificateUserName; + if (data.userProfile.lastName && data.userProfile.lastName.length > 0) { + certificateUserName = `${data.userProfile.firstName} ${data.userProfile.lastName}`; + } else { + certificateUserName = `${data.userProfile.firstName}`; + } //create certificate request body let certificateData = { recipient : {