Skip to content

Commit ba063e0

Browse files
committed
Need to force POST on issues.{close,reopen} too.
1 parent de7638f commit ba063e0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

github2/issues.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ def open(self, project, title, body):
6969

7070
def close(self, project, number):
7171
return self.get_value("close", project, str(number), filter="issue",
72-
datatype=Issue)
72+
datatype=Issue, method="POST")
7373

7474
def reopen(self, project, number):
7575
return self.get_value("reopen", project, str(number), filter="issue",
76-
datatype=Issue)
76+
datatype=Issue, method="POST")
7777

7878
def edit(self, project, number, title, body):
7979
issue_data = {"title": title, "body": body}

0 commit comments

Comments
 (0)