Skip to content

Commit

Permalink
update to 24.0 api default
Browse files Browse the repository at this point in the history
  • Loading branch information
vnehess committed Mar 6, 2012
1 parent b814b20 commit a3180ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forcetk.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ if (forcetk.Client === undefined) {
forcetk.Client.prototype.setSessionToken = function(sessionId, apiVersion, instanceUrl) {
this.sessionId = sessionId;
this.apiVersion = (typeof apiVersion === 'undefined' || apiVersion === null)
? 'v21.0': apiVersion;
? 'v24.0': apiVersion;
if (typeof instanceUrl === 'undefined' || instanceUrl == null) {
// location.hostname can be of the form 'abc.na1.visual.force.com' or
// 'na1.salesforce.com'. Split on '.', and take the [1] or [0] element
Expand Down

0 comments on commit a3180ec

Please sign in to comment.