Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-10-05 20:20:46 +0300
committerRémy Coutable <remy@rymai.me>2017-10-05 20:20:46 +0300
commiteb4296ba6a2f2b5521ad4dea8d0d422048ff05df (patch)
treec79a9d87b9fe79268f3045492a35575c7977c5d3
parentce87f42dc928377abdd1dd445598afb8150d4521 (diff)
parent614bfc3afba485cd58b7c7a8fb999256cade7b6c (diff)
Merge branch 'fix_webhook_user_avatar_on_push' into 'master'
Use full URL of user avatar on webhook push Closes #34339 See merge request gitlab-org/gitlab-ce!14706
-rw-r--r--lib/gitlab/data_builder/push.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/data_builder/push.rb b/lib/gitlab/data_builder/push.rb
index 31a46a738c3..c169c8fe135 100644
--- a/lib/gitlab/data_builder/push.rb
+++ b/lib/gitlab/data_builder/push.rb
@@ -86,7 +86,7 @@ module Gitlab
user_name: user.name,
user_username: user.username,
user_email: user.email,
- user_avatar: user.avatar_url,
+ user_avatar: user.avatar_url(only_path: false),
project_id: project.id,
project: project.hook_attrs,
commits: commit_attrs,