fixed issue with transaction

This commit is contained in:
Colin McKechney
2023-05-07 20:26:37 +00:00
parent 7fc27e3337
commit fbbdfd246c

View File

@@ -289,5 +289,7 @@ fn week_meal_delete(items: &MenuItems) -> Result<()> {
stmt.execute(&[meal])?;
}
conn.commit()?;
conn.close()?;
Ok(())
}