From 70ef8c2b051535c3fcdfff9f2442bb41fb8fc7ec Mon Sep 17 00:00:00 2001 From: eddyystop Date: Tue, 3 Jun 2014 15:00:12 -0400 Subject: [PATCH] Correcting correction to web services code --- docs/web-services.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/web-services.md b/docs/web-services.md index 202ff6f0..dd194bb4 100644 --- a/docs/web-services.md +++ b/docs/web-services.md @@ -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"})