feat: apparently this is all taht is needed to enable C&S

Closes #26
This commit is contained in:
silver 2024-03-11 21:14:45 +00:00
parent ff85fb657e
commit f5ab63b59e

View file

@ -26,6 +26,12 @@ async fn update(config: &Config) -> tide::Result<()> {
}
}
if let Ok(x) = env::var("USERS_CLUBS_SOCIETIES") {
for user in x.split(',').collect::<Vec<&str>>() {
users_tmp.insert(user.to_string());
}
}
// pull from wolves csv
for user in from_csv(&db).await.unwrap_or_default() {
users_tmp.insert(user);