Commit 86955acb authored by John Red Medrano's avatar John Red Medrano

Merge pull request #420 in RMS/api-main-service from RMSv2 to staging

* commit '56648b72':
  revised message on allowed company validations
parents 357163e5 56648b72
...@@ -86,7 +86,7 @@ class AllowedCompanyViewSet(viewsets.ModelViewSet): ...@@ -86,7 +86,7 @@ class AllowedCompanyViewSet(viewsets.ModelViewSet):
except IntegrityError as e: except IntegrityError as e:
print(str(e)) print(str(e))
error = 'adding the same departments under same Company is not allowed' error = 'Adding the same Department under the same Company is not allowed'
message = { message = {
'code': 400, 'code': 400,
'status': 'failed', 'status': 'failed',
......
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