Add Enum with Tags for consistand naming

This commit is contained in:
Sebastiaan
2025-06-07 21:14:11 +02:00
parent 8db7a0453d
commit f72842563a
6 changed files with 32 additions and 11 deletions

View File

@@ -18,7 +18,7 @@ from app.models.apikey import (
ApiKeyPublic,
ApiKeysPublic,
)
from app.models.base import Message, RowId
from app.models.base import ApiTags, Message, RowId
from app.models.user import (
PermissionModule,
PermissionPart,
@@ -34,7 +34,7 @@ from app.models.user import (
)
from app.utils import generate_new_account_email, send_email
router = APIRouter(prefix="/users", tags=["users"])
router = APIRouter(prefix="/users", tags=[ApiTags.USERS])
@router.get(