Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #4 from endenizen/fix_robot_send

Robot.send should pass arguments, not array
  • Loading branch information...
commit 6cf73bf0eefa6defb8f1a52fe146d2efcaf5ef6c 2 parents aaf25c5 + 0125945
@chris chris authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/scripts/pagerduty.coffee
View
2  src/scripts/pagerduty.coffee
@@ -223,7 +223,7 @@ processIncident = (robot, incident, detail) ->
strings = ["PagerDuty Alert: #{formatIncident(incident, detail)} - Incident ID: #{incident.id}"]
if incident.assigned_to_user?
strings.push(" Assigned To: #{incident.assigned_to_user.name}")
- robot.send(incident_room, strings)
+ robot.send(incident_room, strings.join(', '))
describeIncident = (robot, id) ->
robot
Please sign in to comment.
Something went wrong with that request. Please try again.