From c02fc7542132e03b4d58d1d62eda23a5b52ae529 Mon Sep 17 00:00:00 2001 From: Agent Zero Date: Fri, 21 Aug 2026 21:10:28 +0200 Subject: [PATCH] =?UTF-8?q?fix(tags):=20delete=5Ftag=20current=5Fuser["id"?= =?UTF-8?q?]=20=E2=86=92=20current=5Fuser["user=5Fid"]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/plugins/builtins/tags/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/plugins/builtins/tags/routes.py b/app/plugins/builtins/tags/routes.py index 10fc7a4..eabc71b 100644 --- a/app/plugins/builtins/tags/routes.py +++ b/app/plugins/builtins/tags/routes.py @@ -279,7 +279,7 @@ async def delete_tag( ): """Delete a tag and cascade-delete all its assignments.""" tenant_id = uuid.UUID(current_user["tenant_id"]) - user_id = uuid.UUID(current_user["id"]) + user_id = uuid.UUID(current_user["user_id"]) tid = _parse_uuid(tag_id, "tag_id") result = await db.execute(select(Tag).where(Tag.id == tid, Tag.tenant_id == tenant_id))