Skip to content

Commit 92ee79e

Browse files
committed
removed debug logs
1 parent 3875c3e commit 92ee79e

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/routes/copilotOpportunityApply/create.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,7 @@ module.exports = [
7171
const pmRole = await util.getRolesByRoleName(USER_ROLE.PROJECT_MANAGER, req.log, req.id);
7272
const { subjects = [] } = await util.getRoleInfo(pmRole[0], req.log, req.id);
7373

74-
req.log.debug(subjects, 'all manager subjects');
75-
7674
const creator = await util.getMemberDetailsByUserIds([opportunity.createdBy], req.log, req.id);
77-
req.log.debug(creator, 'creator', opportunity.createdBy);
7875

7976
const listOfSubjects = subjects;
8077
if (creator && creator[0] && creator[0].email) {
@@ -85,16 +82,13 @@ module.exports = [
8582

8683
return item.email.toLowerCase() === creator[0].email.toLowerCase();
8784
});
88-
req.log.debug(isCreatorPartofSubjects, 'isCreatorPartofSubjects');
8985
if (!isCreatorPartofSubjects) {
9086
listOfSubjects.push({
9187
email: creator[0].email,
9288
handle: creator[0].handle,
9389
});
9490
}
9591
}
96-
97-
req.log.debug(listOfSubjects, 'final list of subjects');
9892

9993
const emailEventType = CONNECT_NOTIFICATION_EVENT.EXTERNAL_ACTION_EMAIL;
10094
const copilotPortalUrl = config.get('copilotPortalUrl');

0 commit comments

Comments
 (0)