fixed issue with transaction
This commit is contained in:
@@ -289,5 +289,7 @@ fn week_meal_delete(items: &MenuItems) -> Result<()> {
|
||||
stmt.execute(&[meal])?;
|
||||
}
|
||||
|
||||
conn.commit()?;
|
||||
conn.close()?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user