Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-04-26 15:09:44 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-04-26 15:09:44 +0300
commite5e0589e097991ca671a348de81331240e85719d (patch)
tree0767e6d3388f6ebf65f5d47a3ecb0d52430fa7da /app/services/todos
parent0ccabeb3f62c5fbc81f52cc16fa654404bb87874 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/todos')
-rw-r--r--app/services/todos/destroy/confidential_issue_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/todos/destroy/confidential_issue_service.rb b/app/services/todos/destroy/confidential_issue_service.rb
index 6cdd8c16894..fadc76b1181 100644
--- a/app/services/todos/destroy/confidential_issue_service.rb
+++ b/app/services/todos/destroy/confidential_issue_service.rb
@@ -37,7 +37,7 @@ module Todos
def todos
Todo.joins_issue_and_assignees
.where(target: issues)
- .where('issues.confidential = ?', true)
+ .where(issues: { confidential: true })
.where('todos.user_id != issues.author_id')
.where('todos.user_id != issue_assignees.user_id')
end