fca-unofficial
Advanced tools
Comparing version 1.2.2 to 1.2.3
{ | ||
"name": "fca-unofficial", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "A Facebook chat API that doesn't rely on XMPP. Will NOT be deprecated after April 30th 2015.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -25,5 +25,4 @@ "use strict"; | ||
.get(url, ctx.jar, form) | ||
.then(utils.parseAndCheckLogin(ctx, defaultFuncs)) | ||
.then(function(resData) { | ||
callback(null, resData); | ||
callback(null, resData.body.toString()); | ||
}) | ||
@@ -30,0 +29,0 @@ .catch(function(err) { |
@@ -25,5 +25,4 @@ "use strict"; | ||
.post(url, ctx.jar, form) | ||
.then(utils.parseAndCheckLogin(ctx, defaultFuncs)) | ||
.then(function(resData) { | ||
callback(null, resData); | ||
callback(null, resData.body.toString()); | ||
}) | ||
@@ -30,0 +29,0 @@ .catch(function(err) { |
554333
7109