Skip to content

Fix issue for sending event signup confirm email

Johannes Zumthurm requested to merge fix-eventsignup-confirm-email into master

Created by: temparus

Ensures that a confirm email is sent to an event signup by email even when "user" is set to null in the request payload.

Previous behavior

No confirm email was sent to the given email address, when user is in the request payload although its value is set to the default value null.

{
  "event": "<event-id>",
  "user": null,
  "email": "test@bla.ts"
}

With this PR, a confirmation email is also sent in this case.

Merge request reports

Loading