Skip to content

Commit adf37ab

Browse files
committed
test(chat): use allowed run query
1 parent e1a416e commit adf37ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/webapp/test/session-agent.e2e.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1604,7 +1604,7 @@ describe("session agent e2e (real chat.agent loop)", () => {
16041604
expect(session.currentRunId).not.toBe(initialRun.id);
16051605
expect(session.currentRunVersion).toBeGreaterThan(1);
16061606

1607-
const successor = await server.prisma.taskRun.findUniqueOrThrow({
1607+
const successor = await server.prisma.taskRun.findFirstOrThrow({
16081608
where: { id: session.currentRunId! },
16091609
select: { friendlyId: true },
16101610
});

0 commit comments

Comments
 (0)