[Bug Fix] Fix /unlock/me/awaken_maya endpoint

- For Arcaea 6.11.0
- Fix a bug that custom errors in `/unlock/me/awaken_maya` cause client errors. #233
This commit is contained in:
Lost-MSth
2025-11-27 22:49:21 +08:00
parent 39e1e52d36
commit 17998ee655
3 changed files with 8 additions and 4 deletions

View File

@@ -131,7 +131,11 @@ def awaken_maya(user_id):
with Connect() as c:
ch = UserCharacter(c, 71, UserOnline(c, user_id))
ch.select_character_info()
ch.character_uncap()
try:
ch.character_uncap()
# ensure no error raised
except ArcError:
pass
return success_return({
'user_id': user_id,