updated the rss source to use the new entity ref
This commit is contained in:
parent
0948ef9fa2
commit
44b7d24e07
@ -10,10 +10,10 @@ import (
|
||||
)
|
||||
|
||||
type rssClient struct {
|
||||
SourceRecord domain.Sources
|
||||
SourceRecord domain.SourceEntity
|
||||
}
|
||||
|
||||
func NewRssClient(sourceRecord domain.Sources) rssClient {
|
||||
func NewRssClient(sourceRecord domain.SourceEntity) rssClient {
|
||||
client := rssClient{
|
||||
SourceRecord: sourceRecord,
|
||||
}
|
||||
|
@ -7,7 +7,7 @@ import (
|
||||
"git.jamestombleson.com/jtom38/newsbot-api/internal/services/input"
|
||||
)
|
||||
|
||||
var rssRecord = domain.Sources{
|
||||
var rssRecord = domain.SourceEntity{
|
||||
ID: 1,
|
||||
Name: "ArsTechnica",
|
||||
Url: "https://feeds.arstechnica.com/arstechnica/index",
|
||||
|
Loading…
Reference in New Issue
Block a user