refactor: cleanup todo comments
This commit is contained in:
parent
544ba8d0ce
commit
1cf97b8c96
@ -106,7 +106,6 @@ mod tests {
|
|||||||
};
|
};
|
||||||
Assignment::create(pool, 1, 1, new_assignment).await?;
|
Assignment::create(pool, 1, 1, new_assignment).await?;
|
||||||
|
|
||||||
// TODO: check this test after large refactoring
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -69,7 +69,6 @@ impl Availability {
|
|||||||
)
|
)
|
||||||
.fetch_all(pool)
|
.fetch_all(pool)
|
||||||
.await?;
|
.await?;
|
||||||
// TODO: maybe starttimestamp::date = $1 doesnt work?
|
|
||||||
|
|
||||||
let availabillities = records
|
let availabillities = records
|
||||||
.iter()
|
.iter()
|
||||||
@ -137,7 +136,6 @@ impl Availability {
|
|||||||
.fetch_all(pool)
|
.fetch_all(pool)
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
// TODO: maybe starttimestamp::date = $1 doesnt work?
|
|
||||||
let availabillities = records
|
let availabillities = records
|
||||||
.iter()
|
.iter()
|
||||||
.map(|r| Availability {
|
.map(|r| Availability {
|
||||||
@ -274,7 +272,6 @@ impl Availability {
|
|||||||
)
|
)
|
||||||
.fetch_all(pool)
|
.fetch_all(pool)
|
||||||
.await?;
|
.await?;
|
||||||
// TODO: maybe starttimestamp::date = $1 doesnt work?
|
|
||||||
|
|
||||||
let availabillities = records
|
let availabillities = records
|
||||||
.iter()
|
.iter()
|
||||||
@ -329,7 +326,6 @@ impl Availability {
|
|||||||
)
|
)
|
||||||
.fetch_all(pool)
|
.fetch_all(pool)
|
||||||
.await?;
|
.await?;
|
||||||
// TODO: maybe starttimestamp::date = $1 doesnt work?
|
|
||||||
|
|
||||||
let availabillities = records
|
let availabillities = records
|
||||||
.iter()
|
.iter()
|
||||||
|
@ -62,7 +62,6 @@ impl Event {
|
|||||||
)
|
)
|
||||||
.fetch_all(pool)
|
.fetch_all(pool)
|
||||||
.await?;
|
.await?;
|
||||||
// TODO: maybe ::Date doesnt work?
|
|
||||||
|
|
||||||
let events = records
|
let events = records
|
||||||
.into_iter()
|
.into_iter()
|
||||||
|
@ -96,8 +96,6 @@ impl VehicleAssignement {
|
|||||||
.fetch_all(pool)
|
.fetch_all(pool)
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
// TODO: maybe ::date doesnt work
|
|
||||||
|
|
||||||
let vehicle_assignments = records
|
let vehicle_assignments = records
|
||||||
.iter()
|
.iter()
|
||||||
.map(|r| VehicleAssignement {
|
.map(|r| VehicleAssignement {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user