diff --git a/server/src/api/record.ts b/server/src/api/record.ts index aaa34afa..c38c8ae4 100644 --- a/server/src/api/record.ts +++ b/server/src/api/record.ts @@ -307,7 +307,7 @@ async function executeRun(id: string) { await destroyRemoteBrowser(plainRun.browserId); - await run.update({ + const updatedRun = await run.update({ ...run, status: 'success', finishedAt: new Date().toLocaleString(), @@ -319,7 +319,7 @@ async function executeRun(id: string) { return { success: true, - interpretationInfo, + interpretationInfo: updatedRun.toJSON() }; } catch (error: any) {