We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44913ef commit 8ce270dCopy full SHA for 8ce270d
apps/discord/interactions/handlers/commands/leader.py
@@ -18,7 +18,8 @@ def leader(request, interaction=None):
18
game_type = GameType._value2member_map_[int(find_game_type)]
19
qs = qs.filter(game_type__exact=game_type.value)
20
lead_label = game_type.label
21
- lead_url = f'{reverse(lead_label.lower())}#{lead_label.lower()}'
+ lead_url_path = f'{lead_label.lower()}_leaders'
22
+ lead_url = f'{reverse(lead_url_path)}#{lead_label.lower()}'
23
24
lead_player = qs.first()
25
return (
0 commit comments