| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1588,7 +1588,7 @@ def add_spent_time(self, **kwargs): | |||
| 1588 | 1588 | GitlabConnectionError: If the server cannot be reached. | |
| 1589 | 1589 | """ | |
| 1590 | 1590 | url = ('/projects/%(project_id)s/issues/%(issue_id)s/' | |
| 1591 | - 'reset_spent_time' % | ||
| 1591 | + 'add_spent_time' % | ||
| 1592 | 1592 | {'project_id': self.project_id, 'issue_id': self.id}) | |
| 1593 | 1593 | r = self.gitlab._raw_post(url, **kwargs) | |
| 1594 | 1594 | raise_error_from_response(r, GitlabTimeTrackingError, 200) | |
@@ -1601,7 +1601,7 @@ def reset_spent_time(self, **kwargs): | |||
| 1601 | 1601 | GitlabConnectionError: If the server cannot be reached. | |
| 1602 | 1602 | """ | |
| 1603 | 1603 | url = ('/projects/%(project_id)s/issues/%(issue_id)s/' | |
| 1604 | - 'add_spent_time' % | ||
| 1604 | + 'reset_spent_time' % | ||
| 1605 | 1605 | {'project_id': self.project_id, 'issue_id': self.id}) | |
| 1606 | 1606 | r = self.gitlab._raw_post(url, **kwargs) | |
| 1607 | 1607 | raise_error_from_response(r, GitlabTimeTrackingError, 200) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments