Skip to content

Commit 073b4ba

Browse files
committed
fix: update minimum api version to 31
1 parent 6b9db8d commit 073b4ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

forcetk.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -119,15 +119,15 @@ if (forcetk.Client === undefined) {
119119
* Set a session token and the associated metadata in the client.
120120
* @param sessionId a salesforce.com session ID. In a Visualforce page,
121121
* use '{!$Api.sessionId}' to obtain a session ID.
122-
* @param [apiVersion="v29.0"] Force.com API version
122+
* @param [apiVersion="v31.0"] Force.com API version
123123
* @param [instanceUrl] Omit this if running on Visualforce; otherwise
124124
* use the value from the OAuth token.
125125
*/
126126
forcetk.Client.prototype.setSessionToken = function (sessionId, apiVersion, instanceUrl) {
127127
'use strict';
128128
this.sessionId = sessionId;
129129
this.apiVersion = (apiVersion === undefined || apiVersion === null)
130-
? 'v29.0' : apiVersion;
130+
? 'v31.0' : apiVersion;
131131
if (instanceUrl === undefined || instanceUrl === null) {
132132
this.visualforce = true;
133133

0 commit comments

Comments
 (0)