alisaadhq commited on
Commit
00b78aa
·
verified ·
1 Parent(s): 7a32389

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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}", summary="[Internal] n8n posts the video here")
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).