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:
commit
932a6e69b8
|
@ -825,7 +825,7 @@ class User < ActiveRecord::Base
|
|||
{
|
||||
name: name,
|
||||
username: username,
|
||||
avatar_url: avatar_url
|
||||
avatar_url: avatar_url(only_path: false)
|
||||
}
|
||||
end
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
title: Use full path of user's avatar in webhooks
|
||||
merge_request: 13401
|
||||
author: Vitaliy @blackst0ne Klachkov
|
Loading…
Reference in New Issue