diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-08 09:09:01 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-08 09:09:01 +0000 |
commit | e40061efd4c68576da944254567d0b3fbc233ae4 (patch) | |
tree | b39bc9c07069ab9ff022d09157834c3e8514b1d6 /app/models/hooks | |
parent | bd06d7cd6cf903ef0c73670417f4fb15143b70fa (diff) | |
download | gitlab-ce-e40061efd4c68576da944254567d0b3fbc233ae4.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/hooks')
-rw-r--r-- | app/models/hooks/system_hook.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/models/hooks/system_hook.rb b/app/models/hooks/system_hook.rb index c0073f9a9b8..3c7f0ef9ffc 100644 --- a/app/models/hooks/system_hook.rb +++ b/app/models/hooks/system_hook.rb @@ -10,9 +10,9 @@ class SystemHook < WebHook :merge_request_hooks ] - default_value_for :push_events, false - default_value_for :repository_update_events, true - default_value_for :merge_requests_events, false + attribute :push_events, default: false + attribute :repository_update_events, default: true + attribute :merge_requests_events, default: false validates :url, system_hook_url: true |