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