diff --git a/internal/services/input/rss.go b/internal/services/input/rss.go index 820a54e..a803267 100644 --- a/internal/services/input/rss.go +++ b/internal/services/input/rss.go @@ -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, } diff --git a/internal/services/input/rss_test.go b/internal/services/input/rss_test.go index 70da8b8..e27b510 100644 --- a/internal/services/input/rss_test.go +++ b/internal/services/input/rss_test.go @@ -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",