Skip to content
Snippets Groups Projects
Commit 7bdf3574 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: wrong data key

parent 152886cb
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ func NewMailRunnableFromMap(data map[string]interface{}) (*MailRunnable, error)
return nil, fmt.Errorf("%w: Invalid Subject: %v", ErrInvalidData, data["subject"])
}
body, ok := data["l"].(string)
body, ok := data["body"].(string)
if !ok {
return nil, fmt.Errorf("%w: Invalid Body: %v", ErrInvalidData, data["body"])
}
......
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