feat: implement setPlacedDecoInfo #558

Merged
Sainan merged 2 commits from setPlacedDecoInfo into main 2024-10-18 07:54:49 -07:00
Showing only changes of commit b8a156da22 - Show all commits

View File

@ -133,7 +133,7 @@ export const handleSetShipDecorations = async (
return { DecoId: decoId.toString(), Room: placedDecoration.Room, IsApartment: placedDecoration.IsApartment };
};
export const handleSetPlacedDecoInfo = async (accountId: string, req: ISetPlacedDecoInfoRequest) => {
export const handleSetPlacedDecoInfo = async (accountId: string, req: ISetPlacedDecoInfoRequest): Promise<void> => {
const personalRooms = await getPersonalRooms(accountId);
const room = personalRooms.Ship.Rooms.find(room => room.Name === req.Room);