Skip to content

Commit

Permalink
Make switch region grabbing be async
Browse files Browse the repository at this point in the history
  • Loading branch information
larsenv authored Oct 15, 2023
1 parent f7d472d commit 4ecc40a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/riitag/cover.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export async function getGameRegion(gameConsole, gameId) {
return getWiiGameRegion(gameId);
}
case CONSOLE.SWITCH: {
return getSwitchGameRegion(gameId);
return await getSwitchGameRegion(gameId);
}
default: {
throw new Error('Console must be one of wii, wiiu, 3ds, switch');
Expand Down

0 comments on commit 4ecc40a

Please sign in to comment.