mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 19:39:11 +00:00
fix(api): disable access control
This commit is contained in:
parent
d5acea4abb
commit
dac2af43a2
1 changed files with 2 additions and 0 deletions
|
@ -12,6 +12,8 @@ export const memberPassesAccessControl = (
|
|||
member: Member,
|
||||
accessControl: GuildAccessControl
|
||||
): boolean => {
|
||||
return true;
|
||||
|
||||
// Root has a bypass
|
||||
if (isRoot(member.user?.id || '')) {
|
||||
return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue