1
0

fix(tasks): make sure task deleted notification actually has information about the deleted task

This commit is contained in:
kolaente
2023-06-07 18:14:10 +02:00
parent 456495ec30
commit 1a840c8b87
3 changed files with 16 additions and 3 deletions

View File

@ -136,7 +136,7 @@ type TaskDeletedNotification struct {
// ToMail returns the mail notification for TaskDeletedNotification
func (n *TaskDeletedNotification) ToMail() *notifications.Mail {
return notifications.NewMail().
Subject(n.Task.Title + "(" + n.Task.GetFullIdentifier() + ")" + " has been delete").
Subject(n.Task.Title + "(" + n.Task.GetFullIdentifier() + ")" + " has been deleted").
Line(n.Doer.GetName() + " has deleted the task " + n.Task.Title + "(" + n.Task.GetFullIdentifier() + ")")
}