feat: send entire run
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user