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?;
|
||||
|
||||
// TODO: check this test after large refactoring
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
@ -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()
|
||||
|
@ -62,7 +62,6 @@ impl Event {
|
||||
)
|
||||
.fetch_all(pool)
|
||||
.await?;
|
||||
// TODO: maybe ::Date doesnt work?
|
||||
|
||||
let events = records
|
||||
.into_iter()
|
||||
|
@ -96,8 +96,6 @@ impl VehicleAssignement {
|
||||
.fetch_all(pool)
|
||||
.await?;
|
||||
|
||||
// TODO: maybe ::date doesnt work
|
||||
|
||||
let vehicle_assignments = records
|
||||
.iter()
|
||||
.map(|r| VehicleAssignement {
|
||||
|
Loading…
x
Reference in New Issue
Block a user