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 destroyRemoteBrowser(plainRun.browserId);
await run.update({ const updatedRun = await run.update({
...run, ...run,
status: 'success', status: 'success',
finishedAt: new Date().toLocaleString(), finishedAt: new Date().toLocaleString(),
@@ -319,7 +319,7 @@ async function executeRun(id: string) {
return { return {
success: true, success: true,
interpretationInfo, interpretationInfo: updatedRun.toJSON()
}; };
} catch (error: any) { } catch (error: any) {