BigW Consortium Gitlab

Commit 851a0883 by Phil Hughes

Removed todo from JSON response

Frontend doesnt use it
parent 60b40492
......@@ -5,7 +5,6 @@ class Projects::TodosController < Projects::ApplicationController
todo = TodoService.new.mark_todo(issuable, current_user)
render json: {
todo: todo,
count: TodosFinder.new(current_user, state: :pending).execute.count,
delete_path: dashboard_todo_path(todo)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment