fix(aurora): revert a stupid change
This commit is contained in:
parent
71840cc148
commit
1275b8e99a
1 changed files with 0 additions and 3 deletions
|
@ -318,9 +318,6 @@ class Moderation(AuroraGuildModel):
|
||||||
conditions = []
|
conditions = []
|
||||||
|
|
||||||
if types:
|
if types:
|
||||||
if 'all' in types:
|
|
||||||
types = type_registry.keys()
|
|
||||||
logger.debug("Getting all types: %s", types)
|
|
||||||
conditions.append(f"moderation_type IN ({', '.join(['?' for _ in types])})")
|
conditions.append(f"moderation_type IN ({', '.join(['?' for _ in types])})")
|
||||||
params.extend([t.key for t in types])
|
params.extend([t.key for t in types])
|
||||||
if before:
|
if before:
|
||||||
|
|
Loading…
Reference in a new issue