diff options
author | siddharth ravikumar <s@ricketyspace.net> | 2022-11-26 08:12:54 -0500 |
---|---|---|
committer | siddharth ravikumar <s@ricketyspace.net> | 2022-11-26 08:13:14 -0500 |
commit | 9152dc64083bc7d8a178ebd07f038818e1d5be50 (patch) | |
tree | 4123ab5f90b77e4d834cf9a2b6ae32f456346990 /feed/feed.go | |
parent | af608c5eaf8ad93f61f0fe1456aab312dfaf36aa (diff) |
feed: update `Feed.Validate`
Allow "podcast" schema.
Diffstat (limited to 'feed/feed.go')
-rw-r--r-- | feed/feed.go | 2 |
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 } |