Skip to content

Commit

Permalink
adopt clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Pugma committed Oct 1, 2024
1 parent b68fc95 commit 5ade18b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/app/src/traq/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use traq::apis::{configuration::Configuration, message_api::search_messages};

pub(super) async fn collect_message(config: &Configuration) -> Result<()> {
if let Some(token) = config.bearer_access_token.clone() {
if token == "".to_string() {
if token == *"" {
info!("bot access token was empty");
return Ok(());
};
Expand Down

0 comments on commit 5ade18b

Please sign in to comment.