Skip to content
Snippets Groups Projects
Commit 45365f96 authored by Hangzhi Yu's avatar Hangzhi Yu
Browse files

Fix reference to request

parent b06a2959
No related branches found
No related tags found
1 merge request!78Resolve "Rewrite registration wizard"
Pipeline #195980 passed
......@@ -87,7 +87,7 @@ class SendEventRegistrationMutation(graphene.Mutation):
user.set_password(event_registration["user"]["password"])
user.save()
else:
user = self.request.user
user = info.context.user
try:
person, created = Person.objects.get_or_create(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment