From 69bc4f878ede7ac8e5251f9856ea30a4db93e065 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Tue, 10 Sep 2024 22:49:42 +0800 Subject: [PATCH] :alien: Change redeem code api to new --- plugins/starrail/redeem/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/starrail/redeem/runner.py b/plugins/starrail/redeem/runner.py index 76ae312..24e5cd4 100644 --- a/plugins/starrail/redeem/runner.py +++ b/plugins/starrail/redeem/runner.py @@ -84,7 +84,7 @@ class RedeemRunner: ) as client: client: "StarRailClient" result.uid = client.player_id - await client.redeem_code_by_hoyolab(result.code) + await client.redeem_code(result.code) except RegionNotSupported: error = "此服务器暂不支持进行兑换哦~" except RedemptionInvalid: