summaryrefslogtreecommitdiff
path: root/lib/gitlab/hook_data/project_builder.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-11-30 04:47:13 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-11-30 04:47:32 +0000
commit1f6654659564013b8aa4f3572158cb63d3a519c1 (patch)
tree0db2ae38308cb4ce7c7f33bfc670e228ea2be1e7 /lib/gitlab/hook_data/project_builder.rb
parentd7437af3f31f388bf59b23a06c9bff5c8c5fd157 (diff)
downloadgitlab-ce-1f6654659564013b8aa4f3572158cb63d3a519c1.tar.gz
Add latest changes from gitlab-org/security/gitlab@15-6-stable-ee
Diffstat (limited to 'lib/gitlab/hook_data/project_builder.rb')
-rw-r--r--lib/gitlab/hook_data/project_builder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/hook_data/project_builder.rb b/lib/gitlab/hook_data/project_builder.rb
index ebd97d3ab1b..aec842e061f 100644
--- a/lib/gitlab/hook_data/project_builder.rb
+++ b/lib/gitlab/hook_data/project_builder.rb
@@ -57,7 +57,7 @@ module Gitlab
end
def user_email(user)
- user.respond_to?(:email) ? user.email : ""
+ user.respond_to?(:webhook_email) ? user.webhook_email : ""
end
def event_specific_project_data(event)