mirror of
https://github.com/TheSmallHanCat/sora2api.git
synced 2026-02-14 01:54:41 +08:00
fix: api_key持久化
This commit is contained in:
@@ -82,6 +82,7 @@ class AdminConfig(BaseModel):
|
||||
id: int = 1
|
||||
admin_username: str # Read from database, initialized from setting.toml on first startup
|
||||
admin_password: str # Read from database, initialized from setting.toml on first startup
|
||||
api_key: str # Read from database, initialized from setting.toml on first startup
|
||||
error_ban_threshold: int = 3
|
||||
updated_at: Optional[datetime] = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user