Fix enum problems in config

This commit is contained in:
Neshura 2024-05-07 22:50:12 +02:00
parent e02cd900ed
commit 6a8c1662f0
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C
2 changed files with 10 additions and 1 deletions
src/fetchers

View file

@ -29,5 +29,5 @@ impl Fetcher {
#[derive(Deserialize, Serialize, Debug, Clone, Display)]
pub(crate) enum Fetcher {
#[serde(rename = "jnc")]
Jnc(JNovelFetcher)
Jnc(#[serde(skip)] JNovelFetcher)
}