kopia lustrzana https://github.com/Langenfeld/py-gitea
Fixed constants in gitea.Issue
The two constants for opened and closed issues were swapped.pull/5/head
rodzic
d0fe221e54
commit
37109e844c
|
@ -464,8 +464,8 @@ class Issue(GiteaApiObject):
|
|||
GET_COMMENTS = """/repos/%s/%s/issues/comments"""
|
||||
CREATE_ISSUE = """/repos/{owner}/{repo}/issues"""
|
||||
|
||||
OPENED = "closed"
|
||||
CLOSED = "open"
|
||||
OPENED = "open"
|
||||
CLOSED = "closed"
|
||||
|
||||
def __init__(self, gitea, id: int):
|
||||
super(Issue, self).__init__(gitea, id=id)
|
||||
|
|
Ładowanie…
Reference in New Issue