wacca: fix favorites, purchasing and unlocking songs, incorrectly displayed grades

This commit is contained in:
2023-03-18 12:26:57 -04:00
parent 188be2dfc1
commit 62b62db5b5
4 changed files with 27 additions and 20 deletions

View File

@ -102,7 +102,7 @@ class WaccaServlet:
resp.message = "不正なリクエスト エラーです"
return end(resp.make())
if "/api/" in url_path:
if "api/" in url_path:
func_to_find = (
"handle_" + url_path.partition("api/")[2].replace("/", "_") + "_request"
)