Skip to content

Commit

Permalink
maybe fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
cbackas committed Oct 22, 2023
1 parent 9954542 commit 76eb335
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/route_handlers/webhooks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,7 @@ async fn send_discord_webhook(is_on_the_trails: bool) {

let client: WebhookClient = WebhookClient::new(&webhook_url);

let message_result = client.send_message(&message).await;
match message_result {
match client.send_message(message).await {
Ok(_) => {
debug!("Successfully sent Discord webhook");
}
Expand Down

0 comments on commit 76eb335

Please sign in to comment.