mirror of
https://github.com/RGBCube/GitHubWrapper
synced 2025-05-18 15:05:08 +00:00
Merge branch 'main' of https://github.com/VarMonke/Github-Api-Wrapper
This commit is contained in:
commit
0f990d8434
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ class http:
|
|||
data = json.dumps(data)
|
||||
_headers = dict(self.session.headers)
|
||||
result = await self.session.post(
|
||||
CREATE_GIST_URL, data=data, headers=_headers | {'Accept': 'application/vnd.github.v3+json'}
|
||||
CREATE_GIST_URL, data=data, headers=_headers
|
||||
)
|
||||
if 201 == result.status:
|
||||
return await result.json()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue