fix many clones()

This commit is contained in:
2023-05-24 12:11:55 +02:00
parent cf45036642
commit 99296d4060
8 changed files with 54 additions and 71 deletions

View File

@ -31,10 +31,10 @@ WHERE id like ?
/// Creates a new entry in `trip_details` and returns its id.
pub async fn create(
db: &SqlitePool,
planned_starting_time: String,
planned_starting_time: &str,
max_people: i32,
day: String,
notes: Option<String>,
day: &str,
notes: Option<&str>,
allow_guests: bool,
trip_type_id: Option<i64>,
) -> i64 {