Verified Commit ec9cfd1d authored by Sandro Lutz's avatar Sandro Lutz
Browse files

Fix email signup form for events

parent 3aaa6f06
Pipeline #58639 passed with stages
in 10 minutes and 18 seconds
...@@ -92,7 +92,7 @@ const postSignup = ({ eventId, additionalFields = null, email = null }) => ( ...@@ -92,7 +92,7 @@ const postSignup = ({ eventId, additionalFields = null, email = null }) => (
method: 'POST', method: 'POST',
data: { data: {
event: eventId, event: eventId,
user: session.user, user: session ? session.user : null,
additional_fields: additionalFields additional_fields: additionalFields
? JSON.stringify(additionalFields) ? JSON.stringify(additionalFields)
: undefined, : undefined,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment