Browse Source

MS Teams webhook misses commit messages (#8209)

The current webhook just shows the amount of commits, but misses the actual commit description. While the code is actually there to include the description, it is just not included.

Signed-off-by: Bjoern Petri <bjoern.petri@sundevil.de>
tags/v1.11.0-dev
Bjoern Petri techknowlogick 6 years ago
parent
commit
8735c4f27c
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      models/webhook_msteams.go

+ 1
- 0
models/webhook_msteams.go View File

@@ -236,6 +236,7 @@ func getMSTeamsPushPayload(p *api.PushPayload) (*MSTeamsPayload, error) {
ActivityTitle: p.Sender.FullName,
ActivitySubtitle: p.Sender.UserName,
ActivityImage: p.Sender.AvatarURL,
Text: text,
Facts: []MSTeamsFact{
{
Name: "Repository:",


Loading…
Cancel
Save