diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-18 15:09:01 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-18 15:09:01 +0300 |
commit | 19d46f60a3699232458357111365e63a8c71f20d (patch) | |
tree | aaa33bba4d167d4438b1e389be82d31fce9722ed /app/finders | |
parent | 0da3ea537477cb1a39d3479d9debf67c29664fd3 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/finders')
-rw-r--r-- | app/finders/alert_management/http_integrations_finder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/alert_management/http_integrations_finder.rb b/app/finders/alert_management/http_integrations_finder.rb index 9f511be0ace..5d4c9b6fbe3 100644 --- a/app/finders/alert_management/http_integrations_finder.rb +++ b/app/finders/alert_management/http_integrations_finder.rb @@ -27,7 +27,7 @@ module AlertManagement first_id = project.alert_management_http_integrations .ordered_by_id .select(:id) - .at_most(1) + .limit(1) @collection = collection.id_in(first_id) end |