mirror of
https://github.com/TheSmallHanCat/sora2api.git
synced 2026-02-04 02:04:42 +08:00
fix: 无水印配置报错异常
This commit is contained in:
@@ -147,6 +147,7 @@ class UpdateWatermarkFreeConfigRequest(BaseModel):
|
|||||||
watermark_free_enabled: bool
|
watermark_free_enabled: bool
|
||||||
parse_method: Optional[str] = "third_party" # "third_party" or "custom"
|
parse_method: Optional[str] = "third_party" # "third_party" or "custom"
|
||||||
custom_parse_url: Optional[str] = None
|
custom_parse_url: Optional[str] = None
|
||||||
|
custom_parse_token: Optional[str] = None
|
||||||
|
|
||||||
class BatchDisableRequest(BaseModel):
|
class BatchDisableRequest(BaseModel):
|
||||||
token_ids: List[int]
|
token_ids: List[int]
|
||||||
|
|||||||
Reference in New Issue
Block a user