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
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
title: Use full path of user's avatar in webhooks
|
||||||
|
merge_request: 13401
|
||||||
|
author: Vitaliy @blackst0ne Klachkov
|
Loading…
Reference in a new issue