Skip to content
Snippets Groups Projects

Add snippet url to webhook payload

Files
2
+ 1
1
@@ -242,7 +242,7 @@ def blobs(paths = [])
@@ -242,7 +242,7 @@ def blobs(paths = [])
end
end
def hook_attrs
def hook_attrs
attributes
attributes.merge(url: Gitlab::UrlBuilder.build(self))
end
end
def file_name
def file_name
Loading