Skip to content

Commit

Permalink
fix(incident): fix assignee on incident timeline
Browse files Browse the repository at this point in the history
  • Loading branch information
intyro committed Aug 1, 2019
1 parent 62ed84f commit dc03296
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/server/helpers/incidentHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,9 @@ const updateAssignedOrCcdUser = async (
},
});

if (typeof ccdUser !== 'undefined' || typeof ccdUser !== null){
if (ccdUser && ccdUser.length > 0) {
await handleCCUpdateNotification(req, ccdUser, incident.id, '');
}


return selectedUser.action({ ...selectedUser.arguments, incident, res });
};
Expand Down

0 comments on commit dc03296

Please sign in to comment.