Skip to content

Commit 89ec5c8

Browse files
committed
grab the last, not the first child run
1 parent 34d9759 commit 89ec5c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/webapp/app/v3/services/createCheckpoint.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class CreateCheckpointService extends BaseService {
3939
include: {
4040
childRuns: {
4141
orderBy: {
42-
createdAt: "asc",
42+
createdAt: "desc",
4343
},
4444
take: 1,
4545
},

0 commit comments

Comments
 (0)