Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
SAGIRI-kawaii committed Nov 18, 2022
1 parent 773549b commit 016359b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/required/command/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
],
decorators=[
Distribute.distribute(),
Function.require(channel.module),
Function.require(channel.module, response_administrator=True),
BlackListControl.enable(),
Permission.require(Permission.GROUP_ADMIN)
],
Expand Down Expand Up @@ -110,7 +110,7 @@ async def setting(app: Ariadne, group: Group, for_group: ArgResult, for_all: Arg
],
decorators=[
Distribute.distribute(),
Function.require(channel.module),
Function.require(channel.module, response_administrator=True),
BlackListControl.enable(),
Permission.require(Permission.SUPER_ADMIN)
],
Expand Down Expand Up @@ -187,7 +187,7 @@ async def blacklist(
],
decorators=[
Distribute.distribute(),
Function.require(channel.module),
Function.require(channel.module, response_administrator=True),
BlackListControl.enable(),
Permission.require(Permission.SUPER_ADMIN)
],
Expand Down

0 comments on commit 016359b

Please # to comment.