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

Commit a3180ec

Browse files
committed
update to 24.0 api default
1 parent b814b20 commit a3180ec

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)