Skip to content
Snippets Groups Projects
Commit 1d470d9d authored by AndersLan's avatar AndersLan
Browse files

corrected admin error message

parent 336a9e59
No related branches found
No related tags found
1 merge request!40Resolve "Correct feedback message"
......@@ -46,7 +46,7 @@ class UserEndpoint(Resource):
else:
return jsonify({"message": "email or password not matching", 'status': 400})
else:
return jsonify({"message": "admins can't delete themselves", 'status': 400})
return jsonify({"message": "admins cannot delete themselves", 'status': 400})
else:
return jsonify({"message": "wrong data sent", 'status': 400})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment