diff --git a/usecase/tower_usecase.go b/usecase/tower_usecase.go index d231899..547b909 100644 --- a/usecase/tower_usecase.go +++ b/usecase/tower_usecase.go @@ -45,10 +45,6 @@ func (u *towerUsecase) PostWithMultipleImages(tower req.TowerDTO, imageFiles []* return err } - // Validate that if it's not an external tower, DeviceID must be provided - if tower.ExternalTower != nil && !*tower.ExternalTower && tower.DeviceID == nil { - return fmt.Errorf("device_id is required for internal towers") - } // Validate that if DeviceID is provided, the device exists if tower.DeviceID != nil {