redis-get-none-debug-2

This commit is contained in:
Untone 2023-10-13 11:10:53 +03:00
parent ed5c523fd1
commit 3b3dfd0f20

View File

@ -55,7 +55,7 @@ async def load_chats(_, info, limit: int = 50, offset: int = 0):
print(f"[resolvers.load] no chats for user with id={author_id}, create one with Discours (id=2)")
r = await create_chat(None, info, members=[2]) # member with id = 2 is discours
cids.append(r["chat"]["id"])
await redis.execute("COMMIT")
for cid in cids:
print(type(cid))
async with lock: