fix(client): Vague Error messages (#36047)

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
This commit is contained in:
Parth Parth
2019-06-19 15:31:03 +01:00
committed by mrugesh
parent e6a3df45f1
commit 67028025d1
4 changed files with 8 additions and 8 deletions

View File

@ -205,7 +205,7 @@ function createPostReportUserProfile(app) {
if (!username || !report || report === '') {
return res.json({
type: 'danger',
message: 'Oops, something is not right please re-check your submission.'
message: 'Check if you have provided a username and a report'
});
}
return Email.send$(