From 95bf812ae294a4d50a2747d2546b08767bfdb019 Mon Sep 17 00:00:00 2001 From: Untone Date: Fri, 13 Oct 2023 03:12:06 +0300 Subject: [PATCH] race-fix6 --- resolvers/load.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resolvers/load.py b/resolvers/load.py index 834e3b1..8e40d0e 100644 --- a/resolvers/load.py +++ b/resolvers/load.py @@ -58,7 +58,7 @@ async def load_chats(_, info, limit: int = 50, offset: int = 0): # Start a pipeline pipeline = await redis.pipeline() # Add the GET command to the pipeline - pipeline.get(f"chats/{cid}") + await pipeline.get(f"chats/{cid}") # Execute the pipeline result = await pipeline.execute() # Get the result of the GET command