File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1588,7 +1588,7 @@ def add_spent_time(self, **kwargs):
15881588 GitlabConnectionError: If the server cannot be reached.
15891589 """
15901590 url = ('/projects/%(project_id)s/issues/%(issue_id)s/'
1591- 'reset_spent_time ' %
1591+ 'add_spent_time ' %
15921592 {'project_id' : self .project_id , 'issue_id' : self .id })
15931593 r = self .gitlab ._raw_post (url , ** kwargs )
15941594 raise_error_from_response (r , GitlabTimeTrackingError , 200 )
@@ -1601,7 +1601,7 @@ def reset_spent_time(self, **kwargs):
16011601 GitlabConnectionError: If the server cannot be reached.
16021602 """
16031603 url = ('/projects/%(project_id)s/issues/%(issue_id)s/'
1604- 'add_spent_time ' %
1604+ 'reset_spent_time ' %
16051605 {'project_id' : self .project_id , 'issue_id' : self .id })
16061606 r = self .gitlab ._raw_post (url , ** kwargs )
16071607 raise_error_from_response (r , GitlabTimeTrackingError , 200 )
You can’t perform that action at this time.
0 commit comments