Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat:GetNews #227

Merged
merged 16 commits into from
Sep 18, 2023
Prev Previous commit
Next Next commit
tmp
  • Loading branch information
CommanderStorm committed Sep 15, 2023
commit 386ccd08bd86fa38e5fec721a5db5cdc44bea978
2 changes: 1 addition & 1 deletion server/backend/cron/news.go
Original file line number Diff line number Diff line change
Expand Up @@ -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}},
CommanderStorm marked this conversation as resolved.
Show resolved Hide resolved
Files: *file,
Files: file,
}
newNews = append(newNews, newsItem)
}
Expand Down