We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 084b905 commit 0d5f275Copy full SHA for 0d5f275
gitlab/v3/objects.py
@@ -934,7 +934,7 @@ def subscribe(self, **kwargs):
934
{'project_id': self.project_id, 'issue_id': self.id})
935
936
r = self.gitlab._raw_post(url, **kwargs)
937
- raise_error_from_response(r, GitlabSubscribeError)
+ raise_error_from_response(r, GitlabSubscribeError, 201)
938
self._set_from_dict(r.json())
939
940
def unsubscribe(self, **kwargs):
0 commit comments