From 39fc5772eb844ce138cb5342f9acc5b949d51557 Mon Sep 17 00:00:00 2001 From: Kumubou Date: Wed, 17 Apr 2024 00:43:34 +0000 Subject: [PATCH] Fix handle_get_user_tech_count_api_request so that it'll properly return tech award counts --- titles/ongeki/base.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/titles/ongeki/base.py b/titles/ongeki/base.py index ca5a38c..57a7363 100644 --- a/titles/ongeki/base.py +++ b/titles/ongeki/base.py @@ -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"],