From e9d058f5f1be430807f61619e58b21f9da14eff6 Mon Sep 17 00:00:00 2001 From: rasmus Date: Mon, 22 Dec 2025 19:20:40 +0200 Subject: [PATCH] await not that cursed --- app/doorboy-proxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/doorboy-proxy.py b/app/doorboy-proxy.py index 2a80612..ccc44f8 100755 --- a/app/doorboy-proxy.py +++ b/app/doorboy-proxy.py @@ -71,7 +71,7 @@ async def view_doorboy_uids(request): "inventory.owner.username": {"$in": users}, } prj = {"token.uid_hash": True} - tokens = await request.app.ctx.db.inventory.find(flt, prj) + tokens = await request.app.ctx.db.inventory.find(flt, prj).to_list() print(f"delegating {len(tokens)} doorkey tokens") return json({"allowed_uids": tokens})