Fix async error (#212)

This commit is contained in:
cybermaggedon 2024-12-17 12:43:16 +00:00 committed by GitHub
parent 07f9b1f244
commit 8c1b468eb0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -53,10 +53,10 @@ class ServiceEndpoint:
print(data)
def responder(x, fin):
async def responder(x, fin):
print(x)
resp, fin = await self.requestor.process(data, responder)
resp = await self.requestor.process(data, responder)
return web.json_response(resp)