1
Fork 0
mirror of https://github.com/RGBCube/GitHubWrapper synced 2025-05-18 15:05:08 +00:00

Fix org issue

This commit is contained in:
VarMonke 2022-04-03 22:39:12 +05:30
parent 2492760d97
commit a998593118

View file

@ -125,6 +125,6 @@ class GHClient:
async def get_org(self, **kwargs) -> Organization:
"""Fetch a Github organization from it's name"""
org_name = kwargs.get('org')
return Organization(await http.get_org(self.session, org_name), self.session)
return await http.get_org(self.session, org_name)