This commit is contained in:
silver 2023-09-23 20:58:07 +01:00
parent e6da06ea0d
commit f60425f2ad

View file

@ -28,8 +28,8 @@ async fn update_wolves(config: &Config, db: &Pool<Sqlite>) {
}
async fn update_ldap(config: &Config, db: &Pool<Sqlite>) {
let mut ldap = match LdapConn::new(&config.ldap_host){
Ok(s) => {s}
let mut ldap = match LdapConn::new(&config.ldap_host) {
Ok(s) => s,
Err(e) => {
println!("{:?}", e);
return;