Skip to content

Simplify SQL queries of marking a todo as done

What does this MR do?

Simplify SQL queries of marking a todo as done.

Are there points in the code the reviewer needs to double check?

N/A

Why was this MR needed?

Marking a single todo as done sometimes takes as long as 2 seconds. We were using TodosFinder to get a single user's todo, which is an overkill, only to just get the ID of the todo (which we already had) to update it.

What are the relevant issue numbers?

N/A

Screenshots (if relevant)

N/A

Does this MR meet the acceptance criteria?

Merge request reports