summaryrefslogtreecommitdiffstats
path: root/models/webhook_discord.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2017-08-30 13:36:52 +0800
committerGitHub <noreply@github.com>2017-08-30 13:36:52 +0800
commit04ec79579cdcd5cf647ef3ff33d35ecfa7550b49 (patch)
tree261ba09b42fe1eb7af4b215b3c2360f8593ada20 /models/webhook_discord.go
parent5de94a67cf09ae21254269058d86f71fe05ea243 (diff)
downloadgitea-04ec79579cdcd5cf647ef3ff33d35ecfa7550b49.tar.gz
gitea-04ec79579cdcd5cf647ef3ff33d35ecfa7550b49.zip
fix orgnization webhooks (#2422)
* fix org webhooks * remove trace code
Diffstat (limited to 'models/webhook_discord.go')
-rw-r--r--models/webhook_discord.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/models/webhook_discord.go b/models/webhook_discord.go
index bdb363af73..4426a945b4 100644
--- a/models/webhook_discord.go
+++ b/models/webhook_discord.go
@@ -142,8 +142,6 @@ func getDiscordPushPayload(p *api.PushPayload, meta *DiscordMeta) (*DiscordPaylo
}
}
- fmt.Println(text)
-
return &DiscordPayload{
Username: meta.Username,
AvatarURL: meta.IconURL,