We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
2 parents8c27e70 +889bbe5 commitcc4fe78Copy full SHA for cc4fe78
gitlab/objects.py
@@ -1588,7 +1588,7 @@ def add_spent_time(self, **kwargs):
1588
GitlabConnectionError: If the server cannot be reached.
1589
"""
1590
url= ('/projects/%(project_id)s/issues/%(issue_id)s/'
1591
-'reset_spent_time'%
+'add_spent_time'%
1592
{'project_id':self.project_id,'issue_id':self.id})
1593
r=self.gitlab._raw_post(url,**kwargs)
1594
raise_error_from_response(r,GitlabTimeTrackingError,200)
@@ -1601,7 +1601,7 @@ def reset_spent_time(self, **kwargs):
1601
1602
1603
1604
-'add_spent_time'%
+'reset_spent_time'%
1605
1606
1607