From b734197f5c391ad6b3da67a25c6e2bbe6f77451c Mon Sep 17 00:00:00 2001 From: Daniel Busse Date: Mon, 22 Jun 2026 18:14:37 -0600 Subject: [PATCH] fix: update UserRole reference to lowercase member name --- backend/app/core/admin_bootstrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/core/admin_bootstrap.py b/backend/app/core/admin_bootstrap.py index a902ec1..64ed5c9 100644 --- a/backend/app/core/admin_bootstrap.py +++ b/backend/app/core/admin_bootstrap.py @@ -15,7 +15,7 @@ async def bootstrap_admin(): email=settings.ADMIN_EMAIL, hashed_password=hash_password(settings.ADMIN_PASSWORD), display_name="Admin", - role=UserRole.ADMIN, + role=UserRole.admin, is_active=True, ) db.add(admin)