File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 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) {
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
You can’t perform that action at this time.
0 commit comments