Bläddra i källkod

noauth2 remove token

ming 3 år sedan
förälder
incheckning
64526f3917
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      api/main.py

+ 1 - 1
api/main.py

@@ -609,7 +609,7 @@ async def make_anchor_video_noAuth(req:util.models.request):
         return {'msg':{'eng':'Processing video requires a few minutes, please wait for notification','zh':'影片處理需要數分鐘,請等待通知'}}
     return {'msg':'ok'}
    
-@app.post("/make_anchor_video_noAuth2" , response_class=HTMLResponse)
+@app.post("/make_anchor_video_noAuth2" , response_class=JSONResponse)
 async def make_anchor_video_noAuth2(req:util.models.request):
     db_check()
     if len(req.image_urls) != len(req.text_content):