fmt & version 0.3.0 [skip ci]
ci/woodpecker/tag/release Pipeline was successful

This commit is contained in:
2026-08-03 21:35:40 -04:00
parent 3695fc68d6
commit 5638fc4979
5 changed files with 56 additions and 38 deletions
+6 -4
View File
@@ -351,9 +351,9 @@ impl MealService {
let meals = Arc::clone(&self.meals);
self.db
.run(move |txn| {
Box::pin(async move {
meals.create_meal(txn, name, description, category_id).await
})
Box::pin(
async move { meals.create_meal(txn, name, description, category_id).await },
)
})
.await
}
@@ -411,7 +411,9 @@ impl MealService {
let meal_categories = Arc::clone(&self.meal_categories);
self.db
.run(move |txn| {
Box::pin(async move { meal_categories.delete_meal_category(txn, category_id).await })
Box::pin(
async move { meal_categories.delete_meal_category(txn, category_id).await },
)
})
.await
}