diff options
Diffstat (limited to 'docs/gl_objects')
| -rw-r--r-- | docs/gl_objects/todos.rst | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/gl_objects/todos.rst b/docs/gl_objects/todos.rst index a01aa43..24a14c2 100644 --- a/docs/gl_objects/todos.rst +++ b/docs/gl_objects/todos.rst @@ -36,10 +36,9 @@ For example:: Mark a todo as done:: - gl.todos.delete(todo_id) - # or - todo.delete() + todos = gl.todos.list(project_id=1) + todos[0].mark_as_done() Mark all the todos as done:: - nb_of_closed_todos = gl.todos.delete_all() + gl.todos.mark_all_as_done() |
