Skip to content
This repository was archived by the owner on Jan 10, 2024. It is now read-only.

Commit 0dcaf13

Browse files
author
Pat Patterson
committed
Return null from blob() for async calls - fixes #65
1 parent 54e9265 commit 0dcaf13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

forcetk.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ if (forcetk.Client === undefined) {
323323

324324
request.send(blob);
325325

326-
return this.asyncAjax ? JSON.parse(request.response) : null;
326+
return this.asyncAjax ? null : JSON.parse(request.response);
327327
}
328328

329329
/*

0 commit comments

Comments
 (0)