mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-18 15:00:00 +00:00
Hotfix error in role restore
This commit is contained in:
parent
6a94ec9b3e
commit
b9dca2cf2a
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ export const LoadDataEvt = persistEvt({
|
||||||
|
|
||||||
if (rolesToRestore.length) {
|
if (rolesToRestore.length) {
|
||||||
restoredData.push("roles");
|
restoredData.push("roles");
|
||||||
toRestore.roles = Array.from(new Set([...rolesToRestore, ...member.roles.cache]));
|
toRestore.roles = Array.from(new Set([...rolesToRestore, ...member.roles.cache.keys()]));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue