fix: provide a response to setShipFavouriteLoadout
All checks were successful
Build / build (pull_request) Successful in 51s
Build / build (push) Successful in 1m33s

Seems to be the same format as the request, so just mirror it back. This is so the client knows we acknowledged the change as it won't resync the ship until the next login.
This commit is contained in:
Sainan 2025-04-24 20:56:11 +02:00
parent 100aefcee4
commit 8ced8350e0

View File

@ -20,7 +20,7 @@ export const setShipFavouriteLoadoutController: RequestHandler = async (req, res
throw new Error(`unexpected BootLocation: ${body.BootLocation}`);
}
await personalRooms.save();
res.json({});
res.json(body);
};
interface ISetShipFavouriteLoadoutRequest {