From ab23161500456280bcbd05242883d40435af12aa Mon Sep 17 00:00:00 2001 From: Cal Corum Date: Wed, 28 Jan 2026 16:07:05 -0600 Subject: [PATCH] Fix delete endpoint using wrong key for creator_id Was accessing 'creator_id' but get_custom_command_by_id() returns 'creator_db_id'. Co-Authored-By: Claude --- app/routers_v3/custom_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routers_v3/custom_commands.py b/app/routers_v3/custom_commands.py index c6e8fca..4830a50 100644 --- a/app/routers_v3/custom_commands.py +++ b/app/routers_v3/custom_commands.py @@ -573,7 +573,7 @@ async def delete_custom_command_endpoint( if not existing: raise HTTPException(status_code=404, detail=f"Custom command {command_id} not found") - creator_id = existing['creator_id'] + creator_id = existing['creator_db_id'] # Delete the command delete_custom_command(command_id)