fix: acquiring ships #619
@ -13,7 +13,6 @@ export const setShipCustomizations = async (
 | 
				
			|||||||
    accountId: string,
 | 
					    accountId: string,
 | 
				
			||||||
    shipCustomization: ISetShipCustomizationsRequest
 | 
					    shipCustomization: ISetShipCustomizationsRequest
 | 
				
			||||||
): Promise<void> => {
 | 
					): Promise<void> => {
 | 
				
			||||||
    console.log(shipCustomization);
 | 
					 | 
				
			||||||
    if (shipCustomization.IsExterior) {
 | 
					    if (shipCustomization.IsExterior) {
 | 
				
			||||||
        const ship = await getShip(new Types.ObjectId(shipCustomization.ShipId));
 | 
					        const ship = await getShip(new Types.ObjectId(shipCustomization.ShipId));
 | 
				
			||||||
        if (ship.ShipOwnerId.toString() == accountId) {
 | 
					        if (ship.ShipOwnerId.toString() == accountId) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user