app,server: Allow to edit the rating

This commit is contained in:
traxys 2023-06-26 12:47:06 +02:00
parent 5ef000dec0
commit d614029931
4 changed files with 167 additions and 15 deletions

View file

@ -129,3 +129,8 @@ pub struct AddRecipeIngredientRequest {
pub struct RecipeEditStepsRequest {
pub steps: String
}
#[derive(Serialize, Deserialize, Clone, Debug)]
pub struct RecipeEditRating {
pub rating: u8,
}