forked from kompetenzinventar/ki-backend
return full profile response
This commit is contained in:
@ -115,7 +115,9 @@ def get_user_profile(user_id):
|
||||
if profile is None:
|
||||
return make_response({}, 404)
|
||||
|
||||
return make_response({"profile": profile.to_dict()})
|
||||
return make_response({
|
||||
"profile": profile.to_dict(),
|
||||
})
|
||||
|
||||
|
||||
@app.route("/users/<user_id>/profile", methods=["POST"])
|
||||
|
Reference in New Issue
Block a user