Kaynağa Gözat

修改 hello -> healthcheck

罗俊辉 1 yıl önce
ebeveyn
işleme
b2b8a3c347
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      applications/routes.py

+ 1 - 1
applications/routes.py

@@ -39,7 +39,7 @@ async def download_upload_publish():
     video_id = data['video_id']
     video_url = data['video_url']
     video_title = data['video_title']
-    result = upload_to_oss(video_id=video_id, video_url=video_url)
+    result = await upload_to_oss(video_id=video_id, video_url=video_url)
     if result:
         upload_to_pq(oss_object_key=result, title=video_title)
         return jsonify({"status": "successfully uploaded"})