mirror of
https://gitea.tendokyu.moe/Hay1tsme/artemis.git
synced 2025-12-14 08:06:25 +08:00
Fix handle_get_user_tech_count_api_request so that it'll properly return tech award counts
This commit is contained in:
@@ -426,9 +426,10 @@ class OngekiBase:
|
||||
userTechCountList = []
|
||||
|
||||
for tc in utcl:
|
||||
tc.pop("id")
|
||||
tc.pop("user")
|
||||
userTechCountList.append(tc)
|
||||
tmp = tc._asdict()
|
||||
tmp.pop("id")
|
||||
tmp.pop("user")
|
||||
userTechCountList.append(tmp)
|
||||
|
||||
return {
|
||||
"userId": data["userId"],
|
||||
|
||||
Reference in New Issue
Block a user