mirror of
https://github.com/langgenius/dify.git
synced 2026-04-09 01:37:14 +08:00
merge main
This commit is contained in:
parent
201e4cd64d
commit
0975f5bdc2
@ -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(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user