Skip to content

Commit

Permalink
Fix dev mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
RedstoneWizard08 committed Mar 10, 2023
1 parent 766bb36 commit 404d813
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/src/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
});
};

0 comments on commit 404d813

Please sign in to comment.