VietCat commited on
Commit
677b99f
·
1 Parent(s): da459e3

add more logs

Browse files
Files changed (1) hide show
  1. app/main.py +1 -1
app/main.py CHANGED
@@ -17,7 +17,7 @@ def health_check():
17
  return {"status": "ok", "message": "YouTube Downloader API is running."}
18
 
19
  @app.post("/download")
20
- async def download(payload: DownloadRequest): # ✅ sửa lại đúng tên class
21
  try:
22
  video_path = download_video(payload.url, payload.cookie)
23
 
 
17
  return {"status": "ok", "message": "YouTube Downloader API is running."}
18
 
19
  @app.post("/download")
20
+ async def download(payload: DownloadRequest): # ✅ tên đúng
21
  try:
22
  video_path = download_video(payload.url, payload.cookie)
23