Commit c6bcb6b1 authored by José Bascuñan's avatar José Bascuñan

Merge branch '12-corregir-problema-validacion-empresa-solicitante' into 'develop'

se corrige código para que devuelva si existe empresa aun que el solicitante...

See merge request !18
parents 17cdc4d2 9c93ed0b
Pipeline #7677 passed with stages
in 11 minutes and 24 seconds
......@@ -157,10 +157,7 @@ class PetitionerCompanyValidationView(BaseAPIView):
user_authorized = False
if user:
if company:
user_authorized = company.is_user_authorized_to_view(user)
if not user_authorized:
company_dict = False
user_authorized = company.is_user_authorized_to_view(user)
return Response({
'status': 'OK',
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment