Skip to content

Commit 367dad2

Browse files
author
simonepri
committed
Improve Documentation
1 parent a902e14 commit 367dad2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ server.get('/foo', function(req, res, next) {
2525
if (!req.query.foo) {
2626
return next(thrower.throw('BadRequestError', 'foo undefined', 'R.FOO.0');
2727
}
28-
if (req.query.foo === '42') {
29-
return next(thrower.throw('BadRequestError', 'foo cannot be the answer to the meaning of life', 'R.FOO.1');
28+
if (req.query.foo !== 'unicorn') {
29+
return next(thrower.throw('BadRequestError', 'foo should be an 🦄!', 'R.FOO.1');
3030
}
3131

3232
// Adds debug info

0 commit comments

Comments
 (0)