Skip to content
Snippets Groups Projects
Commit 7cafaaad authored by inso's avatar inso
Browse files

Fix missing session parameter

parent 9bf9b608
No related branches found
No related tags found
No related merge requests found
......@@ -84,7 +84,7 @@ class Peers(Base):
async def __get__(self, session, **kwargs):
"""creates a generator with one peering entry per iteration."""
r = await self.requests_get('/peers', **kwargs)
r = await self.requests_get(session, '/peers', **kwargs)
return (await self.parse_response(r))
async def __post__(self, session, **kwargs):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment