fix(server/flash): Api to match documentation

This fixes duplication issues and normalize our use with everyone else
This commit is contained in:
Berkeley Martinez
2018-01-12 14:16:33 -08:00
parent 0cd21f930f
commit 4a911931d0
10 changed files with 88 additions and 86 deletions

View File

@@ -261,10 +261,10 @@ export default function(app) {
!completedChallenge.githubLink
)
) {
req.flash('danger', {
msg: 'You haven\'t supplied the necessary URLs for us to inspect ' +
'your work.'
});
req.flash(
'danger',
'You haven\'t supplied the necessary URLs for us to inspect your work.'
);
return res.sendStatus(403);
}