소스 검색

noauth2 remove token

ming 3 년 전
부모
커밋
64526f3917
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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):