diff options
Diffstat (limited to 'gitlab/v3/objects.py')
-rw-r--r-- | gitlab/v3/objects.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/v3/objects.py b/gitlab/v3/objects.py index ab81521..0db9dfd 100644 --- a/gitlab/v3/objects.py +++ b/gitlab/v3/objects.py @@ -934,7 +934,7 @@ class ProjectIssue(GitlabObject): {'project_id': self.project_id, 'issue_id': self.id}) r = self.gitlab._raw_post(url, **kwargs) - raise_error_from_response(r, GitlabSubscribeError) + raise_error_from_response(r, GitlabSubscribeError, 201) self._set_from_dict(r.json()) def unsubscribe(self, **kwargs): |