Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -200,7 +200,7 @@ async def download_file(job_id: str):
|
|
| 200 |
# 4. n8n CALLBACK (n8n POSTs the finished binary here)
|
| 201 |
# This replaces the "downlode video1" webhook that was in n8n
|
| 202 |
# ══════════════════════════════════════════════════════════════════════════════
|
| 203 |
-
@app.post("/n8n/callback/{job_id}",
|
| 204 |
async def n8n_callback(job_id: str, request: Request):
|
| 205 |
"""
|
| 206 |
n8n calls this endpoint (instead of its own 'downlode video1' webhook).
|
|
|
|
| 200 |
# 4. n8n CALLBACK (n8n POSTs the finished binary here)
|
| 201 |
# This replaces the "downlode video1" webhook that was in n8n
|
| 202 |
# ══════════════════════════════════════════════════════════════════════════════
|
| 203 |
+
@app.post("/n8n/callback/{job_id}", include_in_schema=False)
|
| 204 |
async def n8n_callback(job_id: str, request: Request):
|
| 205 |
"""
|
| 206 |
n8n calls this endpoint (instead of its own 'downlode video1' webhook).
|