fix(api): fix issue with opening CSV before conversion is complete
This commit is contained in:
parent
bb97034d14
commit
631b00db0b
@ -92,7 +92,8 @@ async fn download_pdf(id: u8) -> Result<String, Error> {
|
||||
.arg(&pdf_path)
|
||||
.arg(&csv_path)
|
||||
.spawn()
|
||||
.expect("Failed to generate csv file");
|
||||
.expect("Failed to generate csv file")
|
||||
.wait()?;
|
||||
}
|
||||
|
||||
Ok(csv_path)
|
||||
|
Loading…
Reference in New Issue
Block a user