This commit is contained in:
jxxghp
2025-07-22 20:46:42 +08:00
parent e39a130306
commit f61cd969b9
2 changed files with 11 additions and 11 deletions

View File

@@ -74,7 +74,7 @@ def get_event_types(_: schemas.TokenPayload = Depends(get_current_active_user))
获取所有事件类型
"""
return [{
"name": event_type.name,
"title": event_type.name,
"value": event_type.value
} for event_type in EventType]