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
+8 -2
View File
@@ -105,7 +105,10 @@ pub fn build_router(state: AppState) -> Router {
.route("/meals", get(meals_page).post(create_meal))
.route("/meals/new", get(new_meal_page))
.route("/meals/categories", post(create_meal_category))
.route("/meals/categories/{category_id}/delete", post(delete_meal_category))
.route(
"/meals/categories/{category_id}/delete",
post(delete_meal_category),
)
.route("/meals/{meal_id}", get(meal_page))
.route("/meals/{meal_id}/edit", post(edit_meal))
.route("/meals/{meal_id}/delete", post(delete_meal))
@@ -485,7 +488,10 @@ async fn change_password(
};
if form.new_password != form.confirm_password {
return Ok(render(Some("New password and confirmation do not match."), false));
return Ok(render(
Some("New password and confirmation do not match."),
false,
));
}
state