Skip to content

Commit 5066e68

Browse files
committed
fix(todo): mark_all_as_done doesn't return anything
1 parent d64edcb commit 5066e68

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

gitlab/v4/objects.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4644,10 +4644,6 @@ def mark_all_as_done(self, **kwargs):
46444644
int: The number of todos maked done
46454645
"""
46464646
result = self.gitlab.http_post("/todos/mark_as_done", **kwargs)
4647-
try:
4648-
return int(result)
4649-
except ValueError:
4650-
return 0
46514647

46524648

46534649
class GeoNode(SaveMixin, ObjectDeleteMixin, RESTObject):

0 commit comments

Comments
 (0)