소스 검색

user profile type change

ming 3 년 전
부모
커밋
e916967c43
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      api/main.py

+ 1 - 1
api/main.py

@@ -156,7 +156,7 @@ async def make_video_slide(request: Request, response: Response, Authorize: Auth
     current_user = Authorize.get_jwt_subject()
     return templates.TemplateResponse("make_video_slide.html", {"request": request, "response": response})
 
-@app.post('/user_profile')
+@app.post('/user_profile',response_class=HTMLResponse)
 async def user_profile(token: str = Depends(oauth2_scheme)):
     db_check()
     if 'ok'!=verify_jwt_token(token):