add availability

This commit is contained in:
2021-07-05 20:16:50 +02:00
parent 61bf24eab2
commit a401c6d4a7
8 changed files with 12 additions and 15 deletions

View File

@ -110,6 +110,7 @@ def update_profile(user_id: int):
profile.pronouns = request.json.get("pronouns", "")
profile.volunteerwork = request.json.get("volunteerwork", "")
profile.availability = request.json.get("availability", "")
profile.freetext = request.json.get("freetext", "")
profile.visible = request.json.get("visible", False)