fix: provide a response to setShipFavouriteLoadout
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:
parent
100aefcee4
commit
8ced8350e0
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user