Skip to content
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.

Commit

Permalink
Update controllers.md
Browse files Browse the repository at this point in the history
  • Loading branch information
meisterlampe committed Feb 20, 2017
1 parent d4500e1 commit 69db9b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/controllers.md
Expand Up @@ -36,8 +36,8 @@ Here is the `hello_world.js` implementation for the quick start example. It retr

function hello(req, res) {
var name = req.swagger.params.name.value || 'stranger';
var hello = util.format('{ "message": "Hello, %s" }', name);
res.json(hello);
var hello = util.format('Hello, %s!', name);
res.json({ "message": hello });
}
```

Expand Down

0 comments on commit 69db9b9

Please sign in to comment.