Correcting correction to web services code
This commit is contained in:
parent
a13bd15a64
commit
70ef8c2b05
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ In the example below, we take advantage of queuing to debug the AJAX response da
|
|||
|
||||
```javascript
|
||||
var users = m.request({method: "GET", url: "/user"})
|
||||
.then(console.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