Closed binchoo closed 2 years ago
This is due to the single API endpoint that can fetch both Genshin and Honkai Impact's user data simultaneously...
Added a filter logic that filter outs all honkai impact UserGameRoles.
The API with troubles: https://api-account-os.hoyolab.com/binding/api/getUserGameRolesByLtoken
game_biz
valuegame_biz=hk4e_global
-> Genshin Impact OSgame_biz=bh3_global
-> Honkai Impact OSgame_biz
-> both of themBut my webclient is already explicitly using game_biz=hk4e_global
parameter...
I made a mistake!
Line 30 is not setting the query parameter of the URI!!!
It is assigning a value to a URI variable {game_biz}
. How stupid.
As-is: The API sometimes returns 'KR01` region. It is a server region of the Honkai Impact. (Honkai Impact Server List)
To-be:
HoyolabAccountWebClient.getUserGameRoles
must effectively request the user roles of Genshin Impact, not of Honkai Impact.