Skip to content

Commit

Permalink
aaaaaaaaaaaaaaaa
Browse files Browse the repository at this point in the history
  • Loading branch information
Riveong committed Jan 16, 2024
1 parent 794b45e commit d5791fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,8 @@ def post_personality(request: Request, Personality: PersonaSchema = Body(...)):


@app.get("/user/matchmaking", dependencies=[Depends(jwtBearer())], tags=["personality"])
def post_personality(request: Request):
def post_personality(request: Request,category: str):
authHead = request.headers["Authorization"]
authToken = authHead.split(" ")[1]
email = decode_user(authToken)["userID"]
return master_function(email, 'Science')
return master_function(email, category)

0 comments on commit d5791fb

Please sign in to comment.