aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/views/main/jams/profile.py
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-06-07 16:34:59 +0100
committerGravatar Gareth Coles <[email protected]>2018-06-07 16:34:59 +0100
commitc5d8157670ea2b7f448fc41ca790b25c03a4bedb (patch)
tree428bb0f210b9094d6d147cd2c20144de5c1e8b2e /pysite/views/main/jams/profile.py
parent[CI] Add deployment env and cache .gem (diff)
Replace GitHub with GitLab across the project
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")