redis-get-none-debug-2
This commit is contained in:
parent
ed5c523fd1
commit
3b3dfd0f20
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user