feat: split up the committee refresh from teh regular user refresh
This commit is contained in:
parent
25fcc04287
commit
0eba54b6f2
5 changed files with 60 additions and 4 deletions
|
@ -273,7 +273,7 @@ pub mod committee {
|
|||
// ID in this is the wolves ID, so we need to get a matching discord ID (if one exists)
|
||||
if let Some(x) = get_server_member_discord(db, id_wolves).await {
|
||||
if let Some(member_tmp) = x.discord {
|
||||
let values = users_roles.entry(member_tmp).or_insert(vec![committee_member]);
|
||||
let values = users_roles.entry(member_tmp).or_insert(vec![]);
|
||||
values.push(r.id);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue