Skip to content

Commit

Permalink
Merge pull request #120 from tonybaroneee/master
Browse files Browse the repository at this point in the history
Set API token in SlackNotificationConfig#getAsElement, fixes #86
  • Loading branch information
marvin-w authored Aug 19, 2016
2 parents 06c934f + b9ea0b5 commit fe6c2d1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ public SlackNotificationConfig(String token,
public Element getAsElement(){
Element el = new Element("slackNotification");
el.setAttribute(CHANNEL, this.getChannel());
el.setAttribute(TOKEN, this.getToken());

if(StringUtil.isNotEmpty(this.getTeamName())) {
el.setAttribute(TEAM_NAME, this.getTeamName());
Expand Down

0 comments on commit fe6c2d1

Please sign in to comment.