Added feed id to match previous post data

This commit is contained in:
Neshura 2023-09-18 22:04:20 +02:00
parent c62cd1e285
commit ba052a29b5
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C

View file

@ -3,7 +3,6 @@ use std::{
fs::{self, OpenOptions},
io::Write,
path::Path,
time,
};
use chrono::{DateTime, Duration, Utc};
@ -240,6 +239,7 @@ impl Config {
post_queue.push((
new_post,
PostQueueMetadata {
id: feed.id,
series: feed.series_slug.clone(),
part: None,
volume: Some(volume.slug),
@ -291,6 +291,7 @@ impl Config {
post_queue.push((
new_post,
PostQueueMetadata {
id: feed.id,
series: feed.series_slug.clone(),
part: Some(part.slug),
volume: None,