summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsiddharth ravikumar <s@ricketyspace.net>2022-11-26 08:12:54 -0500
committersiddharth ravikumar <s@ricketyspace.net>2022-11-26 08:13:14 -0500
commit9152dc64083bc7d8a178ebd07f038818e1d5be50 (patch)
tree4123ab5f90b77e4d834cf9a2b6ae32f456346990
parentaf608c5eaf8ad93f61f0fe1456aab312dfaf36aa (diff)
feed: update `Feed.Validate`
Allow "podcast" schema.
-rw-r--r--feed/feed.go2
1 files changed, 1 insertions, 1 deletions
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
}