mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-02 09:26:12 +08:00
🐛 更改命名siteName以符合小驼峰规范
This commit is contained in:
parent
5b8d0440ee
commit
3f3cc2d25e
@ -66,7 +66,7 @@ async def get_global_conf() -> GlobalConf:
|
||||
platformName=platform_name,
|
||||
categories=platform.categories,
|
||||
enabledTag=platform.enable_tag,
|
||||
site_name=platform.site.name,
|
||||
siteName=platform.site.name,
|
||||
name=platform.name,
|
||||
hasTarget=getattr(platform, "has_target"),
|
||||
)
|
||||
|
@ -6,7 +6,7 @@ class PlatformConfig(BaseModel):
|
||||
categories: dict[int, str]
|
||||
enabledTag: bool
|
||||
platformName: str
|
||||
site_name: str
|
||||
siteName: str
|
||||
hasTarget: bool
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user