Skip to content

Commit

Permalink
Fix scoreboard
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorNelson committed Oct 6, 2023
1 parent 46fadc0 commit cb245e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dojo_plugin/api/v1/scoreboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ def standing(item):
class ScoreboardDojo(Resource):
@dojo_route
def get(self, dojo, duration, page):
return get_scoreboard_page(dojo=dojo, duration=duration, page=page)
return get_scoreboard_page(dojo, duration=duration, page=page)

@scoreboard_namespace.route("/<dojo>/<module>/<int:duration>/<int:page>")
class ScoreboardModule(Resource):
@dojo_route
def get(self, dojo, module, duration, page):
return get_scoreboard_page(dojo=dojo, module=module, duration=duration, page=page)
return get_scoreboard_page(module, duration=duration, page=page)

0 comments on commit cb245e1

Please sign in to comment.