app,server: Allow to edit the rating
This commit is contained in:
parent
5ef000dec0
commit
d614029931
4 changed files with 167 additions and 15 deletions
|
|
@ -129,3 +129,8 @@ pub struct AddRecipeIngredientRequest {
|
|||
pub struct RecipeEditStepsRequest {
|
||||
pub steps: String
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Clone, Debug)]
|
||||
pub struct RecipeEditRating {
|
||||
pub rating: u8,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue