|
@@ -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):
|