fix site test

This commit is contained in:
jxxghp
2024-03-27 15:45:27 +08:00
parent eb751bb581
commit fb6c3a9f36
2 changed files with 23 additions and 19 deletions

View File

@ -174,7 +174,7 @@ def test_site(site_id: int,
status_code=404,
detail=f"站点 {site_id} 不存在",
)
status, message = SiteChain().test(url=site.domain)
status, message = SiteChain().test(site.domain)
return schemas.Response(success=status, message=message)