Skip to content

Commit

Permalink
Fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
Celeo committed Nov 19, 2024
1 parent 9c68ab8 commit 2c556c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vzdv-bot/src/tasks/no_shows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ async fn tick(config: &Arc<Config>, db: &Pool<Sqlite>, http: &Arc<Client>) -> Re
send_dm(
http,
discord_user_id,
&create_message(&entry, &cid_name_map, occurrence_count, config),
&create_message(entry, &cid_name_map, occurrence_count, config),
)
.await?;
sqlx::query(sql::UPDATE_NO_SHOW_NOTIFIED)
Expand All @@ -80,7 +80,7 @@ async fn tick(config: &Arc<Config>, db: &Pool<Sqlite>, http: &Arc<Client>) -> Re
} else {
"EC"
};
let staff_member = get_staff_member_by_role(db, &staff_role).await?;
let staff_member = get_staff_member_by_role(db, staff_role).await?;
if let Some(staff_member) = staff_member.first() {
if let Some(ref discord_user_id) = staff_member.discord_id {
send_dm(
Expand Down

0 comments on commit 2c556c8

Please sign in to comment.