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)