mirror of
https://github.com/beerpiss/saekawa.git
synced 2025-02-25 13:55:02 +01:00
fix: import progress should be an untagged enum
i am such a terrible programmer LOL
This commit is contained in:
parent
6df3e8b351
commit
146a1f52c2
@ -24,6 +24,7 @@ pub enum ImportResponse {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||||
|
#[serde(untagged)]
|
||||||
pub enum ImportProgress {
|
pub enum ImportProgress {
|
||||||
NotStarted(u32),
|
NotStarted(u32),
|
||||||
Ongoing { description: String },
|
Ongoing { description: String },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user