Update mithril.request.md
This commit is contained in:
parent
10f291d64a
commit
91607387b1
1 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,7 @@ var log = function(value) {
|
|||
}
|
||||
|
||||
var users = m.request({method: "GET", url: "/user"})
|
||||
.then(log);
|
||||
.then(log)
|
||||
.then(function(users) {
|
||||
//add one more user to the response
|
||||
return users.concat({name: "Jane"})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue