From 9152dc64083bc7d8a178ebd07f038818e1d5be50 Mon Sep 17 00:00:00 2001 From: siddharth ravikumar Date: Sat, 26 Nov 2022 08:12:54 -0500 Subject: feed: update `Feed.Validate` Allow "podcast" schema. --- feed/feed.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feed/feed.go b/feed/feed.go index 31159cc..709e248 100644 --- a/feed/feed.go +++ b/feed/feed.go @@ -46,7 +46,7 @@ func (feed *Feed) Validate(baseDumpDir string) error { // Check 'schema' schemaOK := false - for _, schema := range []string{"npr", "youtube"} { + for _, schema := range []string{"npr", "youtube", "podcast"} { if feed.Schema == schema { schemaOK = true } -- cgit v1.2.3