Improve web hook data. Use clonable url in repo info
This commit is contained in:
parent
0af5884bcd
commit
3ff131a747
3 changed files with 4 additions and 4 deletions
|
@ -98,7 +98,7 @@ module PushObserver
|
|||
user_name: user.name,
|
||||
repository: {
|
||||
name: name,
|
||||
url: web_url,
|
||||
url: url_to_repo,
|
||||
description: description,
|
||||
homepage: web_url,
|
||||
},
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
:user_name => "John Smith",
|
||||
:repository => {
|
||||
:name => "Diaspora",
|
||||
:url => "localhost/diaspora",
|
||||
:url => "git@localhost/diaspora.git",
|
||||
:description => "",
|
||||
:homepage => "localhost/diaspora",
|
||||
:homepage => "http://localhost/diaspora",
|
||||
:private => true
|
||||
},
|
||||
:commits => [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue