forked from Ruderverein-Donau-Linz/rowt
move todo to proper location
This commit is contained in:
parent
e8b140e564
commit
92040e7eac
@ -43,6 +43,7 @@ impl UserTrip {
|
||||
}
|
||||
|
||||
pub async fn delete(db: &SqlitePool, user_id: i64, trip_details_id: i64) {
|
||||
//TODO: Check if > 2 hrs to event
|
||||
let _ = sqlx::query!(
|
||||
"DELETE FROM user_trip WHERE user_id = ? AND trip_details_id = ?",
|
||||
user_id,
|
||||
|
Loading…
x
Reference in New Issue
Block a user