mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-04 23:17:20 +08:00
fix: 修复站点批量导入报错(重复方法覆盖导致异步调用失效)
This commit is contained in:
@@ -41,10 +41,6 @@ class SiteOper(DbOper):
|
||||
"""读取站点写用例需要的目标站点。"""
|
||||
return await self.async_get(site_id)
|
||||
|
||||
async def get_by_domain(self, domain: str) -> Optional[Site]:
|
||||
"""按域名读取站点写用例的重复目标。"""
|
||||
return await Site.async_get_by_domain(self._db, domain)
|
||||
|
||||
async def stage_create(self, payload: Mapping[str, Any]) -> None:
|
||||
"""暂存新增站点,不由仓储自行提交。"""
|
||||
values = dict(payload)
|
||||
|
||||
Reference in New Issue
Block a user