mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-07-03 14:06:12 +02:00
fix: use u param for RetroAchievements user progress request
RA's API_GetGameInfoAndUserProgress expects the username/ULID in the u query param, not z. Using z returned 422 'The u field is required.'
This commit is contained in:
@@ -35,7 +35,7 @@ export class RetroAchievementsClient {
|
||||
const response =
|
||||
await this.instance.get<RetroAchievementsGameInfoAndUserProgress>(
|
||||
"/API_GetGameInfoAndUserProgress.php",
|
||||
{ params: { z: username, y: webApiKey, g: raGameId } }
|
||||
{ params: { u: username, y: webApiKey, g: raGameId } }
|
||||
);
|
||||
|
||||
return response.data;
|
||||
|
||||
Reference in New Issue
Block a user