Skip to content

Commit

Permalink
Fix async error (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
cybermaggedon authored Dec 17, 2024
1 parent 07f9b1f commit 8c1b468
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trustgraph-flow/trustgraph/gateway/endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ async def handle(self, request):

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)

Expand Down

0 comments on commit 8c1b468

Please sign in to comment.