hardcore client id

This commit is contained in:
Henrik Friedrichsen
2019-03-03 15:46:15 +01:00
parent e4e57d12af
commit b8d60917b4
2 changed files with 3 additions and 2 deletions

View File

@@ -1,11 +1,12 @@
use std::fs::File;
use std::io::prelude::*;
pub const CLIENT_ID: &str = "d420a117a32841c2b3474932e49fb54b";
#[derive(Serialize, Deserialize, Debug)]
pub struct Config {
pub username: String,
pub password: String,
pub client_id: String,
}
pub fn load(filename: &str) -> Result<Config, toml::de::Error> {

View File

@@ -91,7 +91,7 @@ fn main() {
event_manager.clone(),
cfg.username,
cfg.password,
cfg.client_id,
config::CLIENT_ID.to_string(),
queue.clone(),
));