Remove unnecessary updated time from NewFeed

This commit is contained in:
Jason Streifling 2024-10-15 17:36:56 +02:00
parent 215a002992
commit 8863e97f1f

View File

@ -27,7 +27,7 @@ type Feed struct {
} }
// NewFeed creates a new feed. // NewFeed creates a new feed.
func NewFeed(title string, updated time.Time) (*Feed, error) { func NewFeed(title string) (*Feed, error) {
text, err := NewText("text", title) text, err := NewText("text", title)
if err != nil { if err != nil {
return nil, fmt.Errorf("error creating new feed: %v", err) return nil, fmt.Errorf("error creating new feed: %v", err)