summaryrefslogtreecommitdiff
path: root/app/graphql/mutations/todos/mark_done.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/mutations/todos/mark_done.rb')
-rw-r--r--app/graphql/mutations/todos/mark_done.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/graphql/mutations/todos/mark_done.rb b/app/graphql/mutations/todos/mark_done.rb
index d738e387c43..748e02d8782 100644
--- a/app/graphql/mutations/todos/mark_done.rb
+++ b/app/graphql/mutations/todos/mark_done.rb
@@ -30,7 +30,7 @@ module Mutations
private
def mark_done(todo)
- TodoService.new.mark_todo_as_done(todo, current_user)
+ TodoService.new.resolve_todo(todo, current_user, resolved_by_action: :api_done)
end
end
end