Added data label for backend.

This commit is contained in:
2026-01-31 04:10:51 +01:00
parent 7a35320351
commit 8d15e786ac
9 changed files with 231 additions and 11 deletions
+4
View File
@@ -211,6 +211,8 @@ async fn add_variant(
description: None,
ingredients: None,
unit: Unit::G,
label: None,
variant_description: None,
};
(StatusCode::INTERNAL_SERVER_ERROR, Json(variant))
@@ -240,6 +242,8 @@ async fn update_variant_route(
description: None,
ingredients: None,
unit: Unit::G,
label: None,
variant_description: None,
};
(StatusCode::INTERNAL_SERVER_ERROR, Json(variant))