feat: remove the last traces of the csv

This commit is contained in:
silver 2023-10-27 01:46:42 +01:00
parent 68c6894727
commit 88f9e8d744
4 changed files with 0 additions and 31 deletions

View file

@ -23,7 +23,6 @@ pub struct Config {
pub ldap_api: String,
pub home: String,
pub database: String,
pub csv: String,
pub auth: String,
pub discord_token: String,
@ -55,7 +54,6 @@ pub fn get_config() -> Config {
home: ".".to_string(),
database: "database.db".to_string(),
csv: "wolves.csv".to_string(),
mail_smtp: "".to_string(),
mail_user: "".to_string(),
@ -75,9 +73,6 @@ pub fn get_config() -> Config {
if let Ok(x) = env::var("DATABASE") {
config.database = x.trim().to_string();
}
if let Ok(x) = env::var("CSV") {
config.csv = x.trim().to_string();
}
if let Ok(x) = env::var("LDAP_DISCORD_AUTH") {
config.auth = x.trim().to_string();