diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-03 09:07:06 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-03 09:07:06 +0300 |
commit | a3759fc2e1f8aa1493840ab0d4ebd4a2e5f495aa (patch) | |
tree | fb8f046819669955006fe21043bfcc13dbe40209 /app/services/todo_service.rb | |
parent | 336483a4c150a112e83d95538218c59d9a952768 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/todo_service.rb')
-rw-r--r-- | app/services/todo_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/todo_service.rb b/app/services/todo_service.rb index 06352d36215..afb69149cea 100644 --- a/app/services/todo_service.rb +++ b/app/services/todo_service.rb @@ -235,7 +235,7 @@ class TodoService ).distinct_user_ids end - if users_multiple_todos.present? && !Todo::ACTIONS_MULTIPLE_ALLOWED.include?(attributes.fetch(:action)) + if users_multiple_todos.present? && Todo::ACTIONS_MULTIPLE_ALLOWED.exclude?(attributes.fetch(:action)) excluded_user_ids += pending_todos( users_multiple_todos, attributes.slice(:project_id, :target_id, :target_type, :commit_id, :discussion, :action) |