Commit 6ec24683 authored by Gladys Forte's avatar Gladys Forte

{dev bugfix} grammar correction on error message

parent 800ce8e0
...@@ -270,7 +270,7 @@ def TemplateValidation(function): ...@@ -270,7 +270,7 @@ def TemplateValidation(function):
message = { message = {
'code': 400, 'code': 400,
'status': 'failed', 'status': 'failed',
'message': validation_result + ' is already existing for the same level of approval.', 'message': validation_result + ' is already exist for the same level of approval.',
} }
return Response(message, return Response(message,
status=status.HTTP_400_BAD_REQUEST) status=status.HTTP_400_BAD_REQUEST)
...@@ -324,7 +324,7 @@ def FormValidation(function): ...@@ -324,7 +324,7 @@ def FormValidation(function):
message = { message = {
'code': 400, 'code': 400,
'status': 'failed', 'status': 'failed',
'message': validation_result + ' is already existing for the same level of approval.', 'message': validation_result + ' is already exist for the same level of approval.',
} }
return Response(message, return Response(message,
status=status.HTTP_400_BAD_REQUEST) status=status.HTTP_400_BAD_REQUEST)
......
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