Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
R
red-ci-cd
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
red-group-test
red-ci-cd
Commits
6ec24683
Commit
6ec24683
authored
Jan 31, 2020
by
Gladys Forte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
{dev bugfix} grammar correction on error message
parent
800ce8e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/helper/decorators.py
app/helper/decorators.py
+2
-2
No files found.
app/helper/decorators.py
View file @
6ec24683
...
@@ -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 exist
ing
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 exist
ing
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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment