Fix some clippy issues
This commit is contained in:
parent
8a83602d6a
commit
b2e9c6b27a
4 changed files with 4 additions and 13 deletions
emgauwa-lib/src/db
|
@ -170,7 +170,7 @@ impl DbRelay {
|
|||
conn: &mut PoolConnection<Sqlite>,
|
||||
) -> Result<DbSchedule, DatabaseError> {
|
||||
let weekday = utils::get_weekday();
|
||||
DbJunctionRelaySchedule::get_schedule(conn, &self, weekday as Weekday)
|
||||
DbJunctionRelaySchedule::get_schedule(conn, self, weekday as Weekday)
|
||||
.await?
|
||||
.ok_or(DatabaseError::NotFound)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue