Spaces:
Running
Running
Commit History
-
fix: comprehensive production bug fix — admin auth, endpoints, seeding
Ashraf Al-Kassem +1: Claude Opus 4.6- Create admin_auth.py with POST /login and GET /me endpoints - Register admin_auth_router in main.py - Implement ~20 missing admin endpoints in admin.py (users, workspaces, webhooks, dispatch, automations, prompt-configs, zoho-health, integrations, executions, email retry, impersonation) - Fix wrap_error() calls with invalid code= kwarg (8 call sites across auth.py, admin.py, integrations.py) - Fix SQLAlchemy == None to .is_(None) in auth.py (2 places) - Seed admin@leadpilot.io / LeadPilot@password123 in create_test_user.py - Delete broken seed_admin.py and seed_rbac.py scripts Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>15d9ad6