You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by sn...@apache.org on 2014/03/21 22:20:47 UTC
[4/8] git commit: fixed a bug where the callback could be called twice
fixed a bug where the callback could be called twice
Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/18944ce4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/18944ce4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/18944ce4
Branch: refs/heads/node-sdk-enhancements
Commit: 18944ce465dda966fbeb34fe4f2906421ba3ba92
Parents: 454ab6e
Author: Scott Ganyo <sc...@ganyo.com>
Authored: Fri Mar 21 13:57:35 2014 -0700
Committer: Scott Ganyo <sc...@ganyo.com>
Committed: Fri Mar 21 13:57:35 2014 -0700
----------------------------------------------------------------------
sdks/nodejs/lib/usergrid.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/18944ce4/sdks/nodejs/lib/usergrid.js
----------------------------------------------------------------------
diff --git a/sdks/nodejs/lib/usergrid.js b/sdks/nodejs/lib/usergrid.js
index 95beb6a..144eb5b 100755
--- a/sdks/nodejs/lib/usergrid.js
+++ b/sdks/nodejs/lib/usergrid.js
@@ -1073,7 +1073,7 @@ var AUTH_NONE = 'NONE';
if (self._client.logging) {
console.log(error);
}
- callback(true, error);
+ return callback(true, error);
}
}
type += '/' + this.get('uuid');