WP15 #9
|
|
@ -241,7 +241,7 @@ def save_draft_to_vault(markdown_content: str, filename: str = None):
|
||||||
response = requests.post(
|
response = requests.post(
|
||||||
INGEST_SAVE_ENDPOINT,
|
INGEST_SAVE_ENDPOINT,
|
||||||
json={"markdown_content": markdown_content, "filename": filename},
|
json={"markdown_content": markdown_content, "filename": filename},
|
||||||
timeout=60
|
timeout=API_TIMEOUT
|
||||||
)
|
)
|
||||||
response.raise_for_status()
|
response.raise_for_status()
|
||||||
return response.json()
|
return response.json()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user