Skip to content

Commit 1ca4890

Browse files
committed
Fix aiohttp connection context's close
1 parent 5f2cff5 commit 1ca4890

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphql_ws/aiohttp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def closed(self):
3838
return self.ws.closed
3939

4040
async def close(self, code):
41-
await self.ws.close(code)
41+
await self.ws.close(code=code)
4242

4343

4444
class AiohttpSubscriptionServer(BaseSubscriptionServer):

0 commit comments

Comments
 (0)