Skip to content

Commit

Permalink
Send meal_id with object
Browse files Browse the repository at this point in the history
  • Loading branch information
TrueDoctor committed Jun 12, 2024
1 parent 46308bc commit 25c08f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions status-api/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ struct MealStatus {
msg: Option<String>,
recipe: String,
place: String,
meal_id: i32,
}

#[derive(Clone)]
Expand Down Expand Up @@ -87,6 +88,7 @@ async fn main() {
msg: None,
recipe: meal.recipe,
place: meal.place,
meal_id: meal.meal_id,
},
);
}
Expand Down

0 comments on commit 25c08f3

Please sign in to comment.