Commit 95265c08 authored by Sean McGivern's avatar Sean McGivern

Fix MR hook builder

parent 56b432bd
...@@ -43,7 +43,7 @@ module Gitlab ...@@ -43,7 +43,7 @@ module Gitlab
def build def build
attrs = { attrs = {
description: MarkdownUtils.absolute_image_urls(issue.description), description: MarkdownUtils.absolute_image_urls(merge_request.description),
url: Gitlab::UrlBuilder.build(merge_request), url: Gitlab::UrlBuilder.build(merge_request),
source: merge_request.source_project.try(:hook_attrs), source: merge_request.source_project.try(:hook_attrs),
target: merge_request.target_project.hook_attrs, target: merge_request.target_project.hook_attrs,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment