Merge pull request 'main' (#111) from main into staging
Reviewed-on: #111
This commit is contained in:
@ -24,7 +24,7 @@ pub mod triptype;
|
||||
pub mod user;
|
||||
pub mod usertrip;
|
||||
|
||||
#[derive(Serialize)]
|
||||
#[derive(Serialize, Debug)]
|
||||
pub struct Day {
|
||||
day: NaiveDate,
|
||||
planned_events: Vec<PlannedEventWithUserAndTriptype>,
|
||||
|
@ -25,7 +25,7 @@ pub struct Trip {
|
||||
is_locked: bool,
|
||||
}
|
||||
|
||||
#[derive(Serialize)]
|
||||
#[derive(Serialize, Debug)]
|
||||
pub struct TripWithUserAndType {
|
||||
#[serde(flatten)]
|
||||
pub trip: Trip,
|
||||
|
Reference in New Issue
Block a user