Fix not adding custom controller IDs

This commit is contained in:
redphx
2024-12-18 06:32:51 +07:00
parent 070943e3de
commit 94c742cbd6
3 changed files with 12 additions and 6 deletions

View File

@@ -253,7 +253,7 @@ export function interceptHttpRequests() {
const response = await NATIVE_FETCH(request, init);
const obj = await response.clone().json();
if (url.includes(GamePassCloudGallery.ALL)) {
if (url.includes(GamePassCloudGallery.ALL) || url.includes(GamePassCloudGallery.ALL_WITH_BYGO)) {
for (let i = 1; i < obj.length; i++) {
gamepassAllGames.push(obj[i].id);
}