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

Commit 2146ab6

Browse files
committed
add return to retrieve
add return to retrieve
1 parent 489da0e commit 2146ab6

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
@@ -388,7 +388,7 @@ if (forcetk.Client === undefined) {
388388
fieldlist = null;
389389
}
390390
var fields = fieldlist ? '?fields=' + fieldlist : '';
391-
this.ajax('/' + this.apiVersion + '/sobjects/' + objtype + '/' + id
391+
return this.ajax('/' + this.apiVersion + '/sobjects/' + objtype + '/' + id
392392
+ fields, callback, error);
393393
}
394394

0 commit comments

Comments
 (0)