merge main

This commit is contained in:
zxhlyh 2025-08-05 10:31:12 +08:00
parent 201e4cd64d
commit 0975f5bdc2
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ class WebsiteService:
headers={"Accept": "application/json", "Authorization": f"Bearer {api_key}"},
)
if response.json().get("code") != 200:
raise ValueError(f"Failed to crawl:")
raise ValueError("Failed to crawl:")
return {"status": "active", "data": response.json().get("data")}
else:
response = requests.post(