mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-02 03:41:08 +00:00
Update GitTag.py
This commit is contained in:
@@ -472,7 +472,7 @@ class Repository(github.GithubObject.CompletableGithubObject):
|
||||
None,
|
||||
post_parameters
|
||||
)
|
||||
return github.GitTag.GitTag(self._requester, data, completed=True)
|
||||
return github.GitTag.GitTag(self._requester, headers, data, completed=True)
|
||||
|
||||
def create_git_tree(self, tree, base_tree=github.GithubObject.NotSet):
|
||||
"""
|
||||
@@ -1059,7 +1059,7 @@ class Repository(github.GithubObject.CompletableGithubObject):
|
||||
None,
|
||||
None
|
||||
)
|
||||
return github.GitTag.GitTag(self._requester, data, completed=True)
|
||||
return github.GitTag.GitTag(self._requester, headers, data, completed=True)
|
||||
|
||||
def get_git_tree(self, sha, recursive=github.GithubObject.NotSet):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user