summaryrefslogtreecommitdiff
path: root/app/models/project_services/chat_notification_service.rb
diff options
context:
space:
mode:
authorTiago Botelho <tiagonbotelho@hotmail.com>2017-04-04 10:16:24 +0100
committerTiago Botelho <tiagonbotelho@hotmail.com>2017-04-05 13:57:12 +0100
commit05f69ef21246f1a2c0b83540d3e205c9e4d77819 (patch)
tree7d7d0d91fd2044d154d618622401e00958adefb8 /app/models/project_services/chat_notification_service.rb
parent9bfa0a5ffab279f25c52f2e1e9644616168bf994 (diff)
downloadgitlab-ce-05f69ef21246f1a2c0b83540d3e205c9e4d77819.tar.gz
adds microsoft team activity object and refactors code accordingly
Diffstat (limited to 'app/models/project_services/chat_notification_service.rb')
-rw-r--r--app/models/project_services/chat_notification_service.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/models/project_services/chat_notification_service.rb b/app/models/project_services/chat_notification_service.rb
index 9a23038b7f2..75834103db5 100644
--- a/app/models/project_services/chat_notification_service.rb
+++ b/app/models/project_services/chat_notification_service.rb
@@ -51,8 +51,7 @@ class ChatNotificationService < Service
data = data.merge(
project_url: project_url,
- project_name: project_name,
- format: false
+ project_name: project_name
)
# WebHook events often have an 'update' event that follows a 'open' or