File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -119,15 +119,15 @@ if (forcetk.Client === undefined) {
119
119
* Set a session token and the associated metadata in the client.
120
120
* @param sessionId a salesforce.com session ID. In a Visualforce page,
121
121
* 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
123
123
* @param [instanceUrl] Omit this if running on Visualforce; otherwise
124
124
* use the value from the OAuth token.
125
125
*/
126
126
forcetk . Client . prototype . setSessionToken = function ( sessionId , apiVersion , instanceUrl ) {
127
127
'use strict' ;
128
128
this . sessionId = sessionId ;
129
129
this . apiVersion = ( apiVersion === undefined || apiVersion === null )
130
- ? 'v29 .0' : apiVersion ;
130
+ ? 'v31 .0' : apiVersion ;
131
131
if ( instanceUrl === undefined || instanceUrl === null ) {
132
132
this . visualforce = true ;
133
133
You can’t perform that action at this time.
0 commit comments