From 4d419abb7258c2339c9413afc854717a0bd97641 Mon Sep 17 00:00:00 2001 From: Ludvig Lundgren Date: Sun, 1 May 2022 16:32:02 +0200 Subject: [PATCH] fix(feeds): create with indexer id (#260) --- internal/domain/feed.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/domain/feed.go b/internal/domain/feed.go index 0ea5d5e..84f06f3 100644 --- a/internal/domain/feed.go +++ b/internal/domain/feed.go @@ -35,7 +35,7 @@ type Feed struct { Settings map[string]string `json:"settings"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` - IndexerID int `json:"-"` + IndexerID int `json:"indexer_id,omitempty"` Indexerr FeedIndexer `json:"-"` }