Skip to content

Commit

Permalink
look ma', im practicing type safety
Browse files Browse the repository at this point in the history
  • Loading branch information
owocki committed Feb 9, 2020
1 parent 03f899c commit fb34949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/marketing/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ def leaderboard(request, key=''):
product = request.GET.get('product', 'all')
keyword_search = request.GET.get('keyword', '')
keyword_search = '' if keyword_search == 'all' else keyword_search
limit = request.GET.get('limit', 50)
limit = int(request.GET.get('limit', 50))
cadence = request.GET.get('cadence', 'weekly')

# backwards compatibility fix for old inbound links
Expand Down

0 comments on commit fb34949

Please sign in to comment.