mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-22 11:04:21 +00:00
Allow BroochService::new
with too many arguments
This commit is contained in:
parent
bcb1793f00
commit
082ab57b68
1 changed files with 1 additions and 0 deletions
|
@ -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...");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue