diff options
author | GitLab Release Tools Bot <delivery-team+release-tools@gitlab.com> | 2021-08-03 19:05:59 +0000 |
---|---|---|
committer | GitLab Release Tools Bot <delivery-team+release-tools@gitlab.com> | 2021-08-03 19:05:59 +0000 |
commit | a75a9a2364e2c397ac2c114129516c1cc9b1ecea (patch) | |
tree | 998c34c313877741aa4748cc87891d0aa2bf4bce /lib/api/todos.rb | |
parent | c8edb9de30c95e9e715a1e31e7667f94fb7f3dec (diff) | |
parent | 8c67b4991465e92dcd6752cc42e54a9c5cd9f0f2 (diff) | |
download | gitlab-ce-a75a9a2364e2c397ac2c114129516c1cc9b1ecea.tar.gz |
Merge remote-tracking branch 'dev/14-1-stable' into 14-1-stable
Diffstat (limited to 'lib/api/todos.rb')
-rw-r--r-- | lib/api/todos.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/todos.rb b/lib/api/todos.rb index a001313a11f..e0e5ca615ac 100644 --- a/lib/api/todos.rb +++ b/lib/api/todos.rb @@ -92,6 +92,7 @@ module API end get do todos = paginate(find_todos.with_entity_associations) + todos = ::Todos::AllowedTargetFilterService.new(todos, current_user).execute options = { with: Entities::Todo, current_user: current_user } batch_load_issuable_metadata(todos, options) |