Use full path of user's avatar in webhooks

This commit is contained in:
blackst0ne 2017-08-09 11:42:59 +11:00
parent 8d2099cd8a
commit 67ea6abd07
2 changed files with 5 additions and 1 deletions

View File

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

View File

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