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

Commit 4ab6f9c

Browse files
author
Pat Patterson
committed
Merge changes
2 parents 3ceda4c + 8108246 commit 4ab6f9c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

forcetk.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,8 @@ if (forcetk.Client === undefined) {
199199
* @param callback function to which response will be passed
200200
* @param [error=null] function to which request will be passed in case of error
201201
* @param retry true if we've already tried refresh token flow once
202-
**/
203-
forcetk.Client.prototype.getChatterFile = function(path,mimeType,callback,error,retry) {
202+
*/
203+
forcetk.Client.prototype.getChatterFile = function(path, mimeType, callback, error, retry) {
204204
var that = this;
205205
var url = (this.visualforce ? '' : this.instanceUrl) + path;
206206

@@ -504,7 +504,7 @@ if (forcetk.Client === undefined) {
504504
fieldlist = null;
505505
}
506506
var fields = fieldlist ? '?fields=' + fieldlist : '';
507-
this.ajax('/' + this.apiVersion + '/sobjects/' + objtype + '/' + id
507+
return this.ajax('/' + this.apiVersion + '/sobjects/' + objtype + '/' + id
508508
+ fields, callback, error);
509509
}
510510

@@ -600,4 +600,4 @@ if (forcetk.Client === undefined) {
600600
return this.ajax('/' + this.apiVersion + '/search?q=' + escape(sosl)
601601
, callback, error);
602602
}
603-
}
603+
}

0 commit comments

Comments
 (0)