Updated test_parse_episode and TheBreakthrough xml feed file.
This commit is contained in:
@@ -51,6 +51,7 @@ pub fn index_loop(db: SqliteConnection) -> Result<()> {
|
||||
let chan = feed.get_podcast_chan(&db)?;
|
||||
let pd = parse_feeds::parse_podcast(&chan, feed.id())?;
|
||||
|
||||
// TODO: Separate the insert/update logic
|
||||
diesel::insert_or_replace(&pd)
|
||||
.into(schema::podcast::table)
|
||||
.execute(&db)?;
|
||||
|
||||
+52
-4
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user