feat: send entire run

This commit is contained in:
karishmas6
2024-10-12 22:16:23 +05:30
parent 46ce8645b9
commit 1f36dec81a

View File

@@ -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) {