1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-22 02:54:21 +00:00

Allow BroochService::new with too many arguments

This commit is contained in:
Steffo 2024-08-08 00:45:40 +02:00
parent bcb1793f00
commit 082ab57b68
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -26,6 +26,7 @@ pub struct BroochService {
} }
impl BroochService { impl BroochService {
#[allow(clippy::too_many_arguments)]
pub fn new(database_url: String, graphql_base_url: &str, stratz_token: &str, watched_guild_id: i64, min_players_to_process: usize, telegram_bot_token: String, notification_chat_id: ChatId, max_imp_wait: TimeDelta) -> AnyResult<Self> { pub fn new(database_url: String, graphql_base_url: &str, stratz_token: &str, watched_guild_id: i64, min_players_to_process: usize, telegram_bot_token: String, notification_chat_id: ChatId, max_imp_wait: TimeDelta) -> AnyResult<Self> {
log::info!("Initializing a new Brooch service..."); log::info!("Initializing a new Brooch service...");