forked from NYANDEV/forgejo
MS Teams webhook misses commit messages (#8225)
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>
This commit is contained in:
parent
aaf975bff1
commit
4b9786ba62
1 changed files with 1 additions and 0 deletions
|
@ -236,6 +236,7 @@ func getMSTeamsPushPayload(p *api.PushPayload) (*MSTeamsPayload, error) {
|
||||||
ActivityTitle: p.Sender.FullName,
|
ActivityTitle: p.Sender.FullName,
|
||||||
ActivitySubtitle: p.Sender.UserName,
|
ActivitySubtitle: p.Sender.UserName,
|
||||||
ActivityImage: p.Sender.AvatarURL,
|
ActivityImage: p.Sender.AvatarURL,
|
||||||
|
Text: text,
|
||||||
Facts: []MSTeamsFact{
|
Facts: []MSTeamsFact{
|
||||||
{
|
{
|
||||||
Name: "Repository:",
|
Name: "Repository:",
|
||||||
|
|
Loading…
Reference in a new issue