aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/views/main/jams/profile.py
diff options
context:
space:
mode:
Diffstat (limited to 'pysite/views/main/jams/profile.py')
-rw-r--r--pysite/views/main/jams/profile.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pysite/views/main/jams/profile.py b/pysite/views/main/jams/profile.py
index f84534e6..e918c135 100644
--- a/pysite/views/main/jams/profile.py
+++ b/pysite/views/main/jams/profile.py
@@ -45,13 +45,13 @@ class JamsProfileView(RouteView, DBMixin, OAuthMixin):
if not participant:
participant = {"id": self.user_data["user_id"]}
- github_username = request.form.get("github_username")
+ gitlab_username = request.form.get("gitlab_username")
timezone = request.form.get("timezone")
- if not github_username or not timezone:
+ if not gitlab_username or not timezone:
return BadRequest()
- participant["github_username"] = github_username
+ participant["gitlab_username"] = gitlab_username
participant["timezone"] = timezone
self.db.insert(self.table_name, participant, conflict="replace")