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 e784668 commit 38d3f2bCopy full SHA for 38d3f2b
apps/web/src/app/api/documents/[documentUuid]/run/route.ts
@@ -75,7 +75,7 @@ export const POST = errorHandler(
75
data: {
76
projectId,
77
commitUuid,
78
- isLiveCommit: headCommit.uuid === commitUuid,
+ isLiveCommit: headCommit?.uuid === commitUuid,
79
documentPath: path,
80
parameters: _parameters,
81
workspaceId: workspace.id,
0 commit comments