sonar fixes

This commit is contained in:
jain
2023-07-18 16:56:24 +05:30
parent 5cc43aa2b8
commit 130dcd83e7
6 changed files with 15 additions and 1 deletions

View File

@ -50,6 +50,7 @@ ERROR_CODE = {
# email not verified
"2024": "Email not verified",
"2025": "Invalid input. Expected a list of strings.",
# check old and new password
"2026": "New password should not same as old password",
"2027": "data should contain `identityToken`",
"2028": "You are not authorized person to sign up on this platform",
@ -66,8 +67,10 @@ ERROR_CODE = {
# log in multiple device msg
"2037": "You are already log in another device",
"2038": "Choose valid action for task",
# card length limit
"2039": "Add at least one article card or maximum 6",
"2040": "Add at least 5 article survey or maximum 10",
# add article msg
"2041": "Article with given id doesn't exist.",
"2042": "Article Card with given id doesn't exist.",
"2043": "Article Survey with given id doesn't exist."