diff options
Diffstat (limited to 'app/models/project_services/microsoft_teams_service.rb')
-rw-r--r-- | app/models/project_services/microsoft_teams_service.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/models/project_services/microsoft_teams_service.rb b/app/models/project_services/microsoft_teams_service.rb index 08eaeb06228..2a8ea3f7e21 100644 --- a/app/models/project_services/microsoft_teams_service.rb +++ b/app/models/project_services/microsoft_teams_service.rb @@ -50,7 +50,7 @@ class MicrosoftTeamsService < ChatNotificationService data = data.merge( project_url: project_url, project_name: project_name, - format: true + markdown_format: true ) message = get_message(object_kind, data) @@ -59,8 +59,9 @@ class MicrosoftTeamsService < ChatNotificationService MicrosoftTeams::Notifier.new(webhook).ping({ title: message.project_name, + pretext: message.pretext, activity: message.activity, - attachments: message.attachments, + attachments: message.attachments }) end end |