Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf624d2e

Browse files
author
Gauvain Pocentek
authored
Merge pull request#382 from ptomato/subscribe-response-code
Expected HTTP response for subscribe is 201
2 parents8f3b656 +0d5f275 commitf624d2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎gitlab/v3/objects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,7 @@ def subscribe(self, **kwargs):
934934
{'project_id':self.project_id,'issue_id':self.id})
935935

936936
r=self.gitlab._raw_post(url,**kwargs)
937-
raise_error_from_response(r,GitlabSubscribeError)
937+
raise_error_from_response(r,GitlabSubscribeError,201)
938938
self._set_from_dict(r.json())
939939

940940
defunsubscribe(self,**kwargs):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp