From 386ccd08bd86fa38e5fec721a5db5cdc44bea978 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Fri, 15 Sep 2023 16:14:55 +0200 Subject: [PATCH] tmp --- server/backend/cron/news.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/backend/cron/news.go b/server/backend/cron/news.go index a60b50d7..fd83e167 100644 --- a/server/backend/cron/news.go +++ b/server/backend/cron/news.go @@ -123,7 +123,7 @@ func (c *CronService) parseNewsFeed(source model.NewsSource) error { Link: item.Link, Image: enclosureUrl, FilesID: null.Int{NullInt64: sql.NullInt64{Int64: int64(file.File), Valid: true}}, - Files: *file, + Files: file, } newNews = append(newNews, newsItem) }