From 4b8cb6284b5bc1d9a784601af64499e5b3b9c6b1 Mon Sep 17 00:00:00 2001 From: Marvin Wichmann Date: Fri, 19 Aug 2016 09:09:50 +0200 Subject: [PATCH] Revert "Set API token in SlackNotificationConfig#getAsElement, fixes #86" --- .../teamcity/settings/SlackNotificationConfig.java | 1 - 1 file changed, 1 deletion(-) diff --git a/tcslackbuildnotifier-core/src/main/java/slacknotifications/teamcity/settings/SlackNotificationConfig.java b/tcslackbuildnotifier-core/src/main/java/slacknotifications/teamcity/settings/SlackNotificationConfig.java index 16a5fd9a..d72fc2fc 100644 --- a/tcslackbuildnotifier-core/src/main/java/slacknotifications/teamcity/settings/SlackNotificationConfig.java +++ b/tcslackbuildnotifier-core/src/main/java/slacknotifications/teamcity/settings/SlackNotificationConfig.java @@ -229,7 +229,6 @@ 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());