forked from Dniel97/artemis
Fix handle_get_user_tech_count_api_request so that it'll properly return tech award counts
This commit is contained in:
parent
bd7e1cead0
commit
39fc5772eb
@ -426,9 +426,10 @@ class OngekiBase:
|
|||||||
userTechCountList = []
|
userTechCountList = []
|
||||||
|
|
||||||
for tc in utcl:
|
for tc in utcl:
|
||||||
tc.pop("id")
|
tmp = tc._asdict()
|
||||||
tc.pop("user")
|
tmp.pop("id")
|
||||||
userTechCountList.append(tc)
|
tmp.pop("user")
|
||||||
|
userTechCountList.append(tmp)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
"userId": data["userId"],
|
"userId": data["userId"],
|
||||||
|
Loading…
Reference in New Issue
Block a user