Merge branch '34339-user_avatar-url-in-push-event-webhook-json-payload-is-relative-should-be-absolute' into 'master'

Resolve "user_avatar URL in push event webhook JSON payload is relative, should be absolute"

Closes #34339

See merge request !13401
This commit is contained in:
Rémy Coutable 2017-08-09 08:08:52 +00:00
commit 932a6e69b8
2 changed files with 5 additions and 1 deletions

View file

@ -825,7 +825,7 @@ class User < ActiveRecord::Base
{ {
name: name, name: name,
username: username, username: username,
avatar_url: avatar_url avatar_url: avatar_url(only_path: false)
} }
end end

View file

@ -0,0 +1,4 @@
---
title: Use full path of user's avatar in webhooks
merge_request: 13401
author: Vitaliy @blackst0ne Klachkov