Skip to content

Commit

Permalink
Resources: Use kebab-case for keys of valid_filters
Browse files Browse the repository at this point in the history
  • Loading branch information
hedyhli committed Aug 2, 2024
1 parent e51d80a commit c2413a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydis_site/apps/resources/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def ready(self) -> None:
# A complete list of valid filter names
self.valid_filters = {
"topics": [to_kebabcase(topic) for topic in self.filters["Topics"]["filters"]],
"payment_tiers": [
"payment-tiers": [
to_kebabcase(tier) for tier in self.filters["Payment tiers"]["filters"]
],
"type": [to_kebabcase(type_) for type_ in self.filters["Type"]["filters"]],
Expand Down

0 comments on commit c2413a1

Please sign in to comment.