Set Event Description as EMail Body. Fix: Typo in Subject Line
This commit is contained in:
@ -81,8 +81,8 @@ namespace SZUAbsolventenverein.Module.EventRegistration.Services
|
||||
Response = _ResponseRepository.UpdateResponse(Response);
|
||||
|
||||
Event currentEvent = _EventRepository.GetEvent(Response.EventRegistrationId);
|
||||
string subject = Response.ResponseType ? $"Du bist erfolgreich für '{currentEvent.Name}' Registriert worden." : $"Du hast erfolgreich für '{currentEvent.Name}' abgesagt.";
|
||||
string body = "Hier kann man die Infos des Events hineinpacken (HTML ist erlaubt)";
|
||||
string subject = Response.ResponseType ? $"Du bist erfolgreich für '{currentEvent.Name}' registriert." : $"Du hast erfolgreich für '{currentEvent.Name}' abgesagt.";
|
||||
string body = currentEvent.Description;
|
||||
SendEventResponseNotification(subject, body);
|
||||
|
||||
_logger.Log(LogLevel.Information, this, LogFunction.Create, "EventRegistration Added {NewEvent}", Response);
|
||||
|
||||
Reference in New Issue
Block a user