Skip to content

Commit 992ee0c

Browse files
committed
Make start use version id
Important for update
1 parent be86750 commit 992ee0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/xServices/workspace/workspaceXService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ export const workspaceMachine = createMachine(
390390
},
391391
startWorkspace: async (context) => {
392392
if (context.workspace) {
393-
return await API.startWorkspace(context.workspace.id)
393+
return await API.startWorkspace(context.workspace.id, context.template?.active_version_id)
394394
} else {
395395
throw Error("Cannot start workspace without workspace id")
396396
}

0 commit comments

Comments
 (0)