Skip to content

Commit d64edcb

Browse files
committed
docs(todo): correct todo docs
1 parent 7715567 commit d64edcb

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/gl_objects/todos.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,9 @@ For example::
3636

3737
Mark a todo as done::
3838

39-
gl.todos.delete(todo_id)
40-
# or
41-
todo.delete()
39+
todos = gl.todos.list(project_id=1)
40+
todos[0].mark_as_done()
4241

4342
Mark all the todos as done::
4443

45-
nb_of_closed_todos = gl.todos.delete_all()
44+
gl.todos.mark_all_as_done()

0 commit comments

Comments
 (0)