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 bd8efa7 commit 997185cCopy full SHA for 997185c
internal-packages/run-engine/src/engine/systems/executionSnapshotSystem.ts
@@ -195,7 +195,7 @@ export async function getExecutionSnapshotsSince(
195
sinceSnapshotId: string
196
): Promise<EnhancedExecutionSnapshot[]> {
197
// Find the createdAt of the sinceSnapshotId
198
- const sinceSnapshot = await prisma.taskRunExecutionSnapshot.findUnique({
+ const sinceSnapshot = await prisma.taskRunExecutionSnapshot.findFirst({
199
where: { id: sinceSnapshotId },
200
select: { createdAt: true },
201
});
0 commit comments