diff --git a/app/src/dev.ts b/app/src/dev.ts index bdbc966..1ce30d1 100644 --- a/app/src/dev.ts +++ b/app/src/dev.ts @@ -70,13 +70,13 @@ export const createMockAPI = () => { return DEV_Instances.find((v) => v.id == id); case "get_mods": - return await new SpaceDockAPI().getModsForGame(22407, args.page, args.count); + return await new SpaceDockAPI().getModsForGame(args.gameId, args.page, args.count); case "get_mod": - return await new SpaceDockAPI().getMod(args.mod_id); + return await new SpaceDockAPI().getMod(args.modId); case "get_mod_download": - return await new SpaceDockAPI().getModDownload(args.mod_id); + return await new SpaceDockAPI().getModDownload(args.modId); } }); };