Skip to content

Commit dbc3b1f

Browse files
author
Pat Patterson
committed
Merge pull request developerforce#13 from vnehess/master
api default update
2 parents b814b20 + a3180ec commit dbc3b1f

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
@@ -124,7 +124,7 @@ if (forcetk.Client === undefined) {
124124
forcetk.Client.prototype.setSessionToken = function(sessionId, apiVersion, instanceUrl) {
125125
this.sessionId = sessionId;
126126
this.apiVersion = (typeof apiVersion === 'undefined' || apiVersion === null)
127-
? 'v21.0': apiVersion;
127+
? 'v24.0': apiVersion;
128128
if (typeof instanceUrl === 'undefined' || instanceUrl == null) {
129129
// location.hostname can be of the form 'abc.na1.visual.force.com' or
130130
// 'na1.salesforce.com'. Split on '.', and take the [1] or [0] element

0 commit comments

Comments
 (0)