use proper field

This commit is contained in:
philipp 2023-05-03 22:54:10 +02:00
parent 9f7fa6b8c4
commit c89a199a33

View File

@ -178,7 +178,7 @@ FROM user_trip WHERE trip_details_id = (SELECT trip_details_id FROM planned_even
sqlx::query!(
"UPDATE trip_details SET max_people = ?, notes = ? WHERE id = ?",
planned_amount_cox,
max_people,
notes,
self.trip_details_id
)