parent
ff85fb657e
commit
f5ab63b59e
1 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue