mirror of
https://github.com/beerpiss/saekawa.git
synced 2024-11-27 17:00:50 +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)]
|
||||
#[serde(untagged)]
|
||||
pub enum ImportProgress {
|
||||
NotStarted(u32),
|
||||
Ongoing { description: String },
|
||||
|
Loading…
Reference in New Issue
Block a user