修复参数错误

This commit is contained in:
qwerdvd 2023-11-02 15:30:56 +08:00
parent a98891875f
commit f0be4cd832
No known key found for this signature in database
GPG Key ID: A3AF89C783404769

View File

@ -104,7 +104,7 @@ class DamageCal:
@classmethod @classmethod
async def get_all_damage_data_by_uid(cls, uid: str): async def get_all_damage_data_by_uid(cls, uid: str):
char_id_list, char_data_dict = await api_to_dict(sr_uid=uid) char_id_list, char_data_dict = await api_to_dict(uid=uid)
if isinstance(char_id_list, str): if isinstance(char_id_list, str):
raise MihomoRequestError raise MihomoRequestError