fix: import progress should be an untagged enum

i am such a terrible programmer LOL
This commit is contained in:
beerpiss 2024-07-04 21:02:11 +07:00
parent 6df3e8b351
commit 146a1f52c2

View File

@ -24,6 +24,7 @@ pub enum ImportResponse {
}
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(untagged)]
pub enum ImportProgress {
NotStarted(u32),
Ongoing { description: String },