fix(aurora): revert a stupid change
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 39s

This commit is contained in:
Seaswimmer 2024-08-13 16:36:15 -04:00
parent 71840cc148
commit 1275b8e99a
Signed by: cswimr
GPG key ID: 3813315477F26F82

View file

@ -318,9 +318,6 @@ class Moderation(AuroraGuildModel):
conditions = []
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])})")
params.extend([t.key for t in types])
if before: