Fix some clippy issues

This commit is contained in:
Tobias Reisinger 2024-04-25 01:41:53 +02:00
parent 8a83602d6a
commit b2e9c6b27a
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
4 changed files with 4 additions and 13 deletions
emgauwa-lib/src/db

View file

@ -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)
}