Skip to content
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/commands/waw/workbench/open.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ export default class ConnectedAppCreate extends SfdxCommand {

const accessToken = conn.accessToken;
const instanceUrl = conn.instanceUrl;
const serverUrl = `${instanceUrl}/services/Soap/u/41.0`;
const apiVersion = conn.version;
const serverUrl = `${instanceUrl}/services/Soap/u/${apiVersion}`;

const workbenchUrlWithSid = url.resolve(targetWorkbenchUrl, `/login.php?serverUrl=${serverUrl}&sid=${accessToken}`);

Expand Down