diff --git a/src/controllers/api/getShipController.ts b/src/controllers/api/getShipController.ts index 89dd9557..95cc02fb 100644 --- a/src/controllers/api/getShipController.ts +++ b/src/controllers/api/getShipController.ts @@ -1,5 +1,3 @@ -import { RequestHandler } from "express"; - import { Account } from "@/src/models/loginModel"; import { Ship } from "@/src/models/shipModel"; @@ -21,13 +19,6 @@ const getShipController: RequestHandler = async (_req, res) => { return; } } - - if (ship) { - const new_ship = ship; - if (config.testMission) new_ship.Ship.Features = testShipFeature; - res.json(new_ship); - return; - } res.json(ship); }; diff --git a/static/fixed_responses/testMissions.json b/static/fixed_responses/testMissions.json index dd2cf9fc..28781d19 100644 --- a/static/fixed_responses/testMissions.json +++ b/static/fixed_responses/testMissions.json @@ -1468,4 +1468,4 @@ "Completes": 1, "Tag": "EventNode27" } -] +] \ No newline at end of file