diff options
| author | Filipa Lacerda <filipa@gitlab.com> | 2017-03-16 11:29:10 +0000 |
|---|---|---|
| committer | Filipa Lacerda <filipa@gitlab.com> | 2017-03-16 11:29:10 +0000 |
| commit | 774e0e3bfe2d35e8b7eb704ab856549559965dfe (patch) | |
| tree | 71fcb583132741efaa3db2055d9962c2d175d338 /lib | |
| parent | 9ce549b22ae453acf87b883afe8943123d0c48fe (diff) | |
| parent | 5f9ace8eb1d71b35c92156177465b066ebbc4a3e (diff) | |
| download | gitlab-ce-774e0e3bfe2d35e8b7eb704ab856549559965dfe.tar.gz | |
Merge branch '27114-add-undo-mark-all-as-done-to-todos' into 'master'
Add 'Undo mark all as done' to Todos
Closes #27114
See merge request !9890
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/api/v3/todos.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/v3/todos.rb b/lib/api/v3/todos.rb index e60cb25e57b..e3b311d61cd 100644 --- a/lib/api/v3/todos.rb +++ b/lib/api/v3/todos.rb @@ -20,9 +20,9 @@ module API desc 'Mark all todos as done' delete do status(200) - + todos = TodosFinder.new(current_user, params).execute - TodoService.new.mark_todos_as_done(todos, current_user) + TodoService.new.mark_todos_as_done(todos, current_user).size end end end |
