|
@@ -785,7 +785,7 @@ class Services extends ApiServices
|
|
|
$profileValid = $apiValidationFTTH->validProfile($instance->getProfile());
|
|
|
if (!$profileValid && $instance->getProfile() != 1) {
|
|
|
$content = "El id del profile no existe.";
|
|
|
- }else if($profileValid->getTenancyId() != $instance->getTenancyId()){
|
|
|
+ }else if($profileValid->getTenancyId() != 1 && $profileValid->getTenancyId() != $instance->getTenancyId()){
|
|
|
$content = "El perfil especificado no es propiedad de tenancy.";
|
|
|
}
|
|
|
}
|