Commit f2a3ab80 authored by ale's avatar ale

Fix a typo in the newsletter template function

parent b49f4e6d
Pipeline #4730 passed with stages
in 6 minutes and 5 seconds
......@@ -1035,7 +1035,7 @@ func (c *templateContext) newsletterResourceTemplate(ctx context.Context, r *Res
// Force the list address to lowercase.
r.Name = strings.ToLower(r.Name)
if r.List == nil {
if r.Newsletter == nil {
r.Newsletter = new(Newsletter)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment