Fix handle_get_user_tech_count_api_request so that it'll properly return tech award counts

This commit is contained in:
Kumubou 2024-04-17 00:43:34 +00:00
parent bd7e1cead0
commit 39fc5772eb

View File

@ -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"],