refactor: cleanup todo comments

This commit is contained in:
Max Hohlfeld 2025-05-12 20:30:41 +02:00
parent 544ba8d0ce
commit 1cf97b8c96
4 changed files with 0 additions and 8 deletions

View File

@ -106,7 +106,6 @@ mod tests {
};
Assignment::create(pool, 1, 1, new_assignment).await?;
// TODO: check this test after large refactoring
Ok(())
}

View File

@ -69,7 +69,6 @@ impl Availability {
)
.fetch_all(pool)
.await?;
// TODO: maybe starttimestamp::date = $1 doesnt work?
let availabillities = records
.iter()
@ -137,7 +136,6 @@ impl Availability {
.fetch_all(pool)
.await?;
// TODO: maybe starttimestamp::date = $1 doesnt work?
let availabillities = records
.iter()
.map(|r| Availability {
@ -274,7 +272,6 @@ impl Availability {
)
.fetch_all(pool)
.await?;
// TODO: maybe starttimestamp::date = $1 doesnt work?
let availabillities = records
.iter()
@ -329,7 +326,6 @@ impl Availability {
)
.fetch_all(pool)
.await?;
// TODO: maybe starttimestamp::date = $1 doesnt work?
let availabillities = records
.iter()

View File

@ -62,7 +62,6 @@ impl Event {
)
.fetch_all(pool)
.await?;
// TODO: maybe ::Date doesnt work?
let events = records
.into_iter()

View File

@ -96,8 +96,6 @@ impl VehicleAssignement {
.fetch_all(pool)
.await?;
// TODO: maybe ::date doesnt work
let vehicle_assignments = records
.iter()
.map(|r| VehicleAssignement {