diff options
author | David Turner <novalis@novalis.org> | 2017-05-10 13:31:12 -0400 |
---|---|---|
committer | David Turner <novalis@novalis.org> | 2017-05-10 17:11:36 -0400 |
commit | 47b8516c15415e4111973fbc9a3a2782c1de3ed8 (patch) | |
tree | ce6887b3ee70e2f533ee1af2f5bb4f9996af907b /lib/gitlab/data_builder | |
parent | bbd83376d625b8d9cb73cbc83c3c0eb71b1abf32 (diff) | |
download | gitlab-ce-47b8516c15415e4111973fbc9a3a2782c1de3ed8.tar.gz |
Add username field to push webhook
Signed-off-by: David Turner <novalis@novalis.org>
Diffstat (limited to 'lib/gitlab/data_builder')
-rw-r--r-- | lib/gitlab/data_builder/push.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/data_builder/push.rb b/lib/gitlab/data_builder/push.rb index d76aa38f741..ee3a1c7c008 100644 --- a/lib/gitlab/data_builder/push.rb +++ b/lib/gitlab/data_builder/push.rb @@ -11,6 +11,7 @@ module Gitlab # ref: String, # user_id: String, # user_name: String, + # user_username: String, # user_email: String # project_id: String, # repository: { @@ -51,6 +52,7 @@ module Gitlab message: message, user_id: user.id, user_name: user.name, + user_username: user.username, user_email: user.email, user_avatar: user.avatar_url, project_id: project.id, |