👽 Change redeem code api to new

This commit is contained in:
xtaodada 2024-09-10 22:49:42 +08:00
parent 4ef3be102c
commit 69bc4f878e
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -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: