We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a94b72 commit ce211fdCopy full SHA for ce211fd
site/src/xServices/workspace/workspaceXService.ts
@@ -526,7 +526,10 @@ export const workspaceMachine = createMachine(
526
},
527
startWorkspace: async (context) => {
528
if (context.workspace) {
529
- return await API.startWorkspace(context.workspace.id, context.template?.active_version_id)
+ return await API.startWorkspace(
530
+ context.workspace.id,
531
+ context.workspace.latest_build.template_version_id,
532
+ )
533
} else {
534
throw Error("Cannot start workspace without workspace id")
535
}
0 commit comments