cleaner-code #89
@ -141,7 +141,7 @@ ORDER BY day;",
|
|||||||
.fetch_one(db)
|
.fetch_one(db)
|
||||||
.await
|
.await
|
||||||
.unwrap();
|
.unwrap();
|
||||||
if is_cox.amount.unwrap() > 0 {
|
if is_cox.amount > 0 {
|
||||||
return CoxAtTrip::Yes(Action::Helping);
|
return CoxAtTrip::Yes(Action::Helping);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user