Skip to content

Commit

Permalink
minorChange:added indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
praveenKDass committed Sep 12, 2024
1 parent 687c5ff commit fb69c7e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions module/userProjects/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 : {
Expand Down

0 comments on commit fb69c7e

Please sign in to comment.