feat: accept userId

This commit is contained in:
karishmas6
2024-10-10 03:22:04 +05:30
parent 33a01f500f
commit 4355f5bebc

View File

@@ -170,7 +170,7 @@ function resetRecordingState(browserId: string, id: string) {
id = ''; id = '';
} }
export async function handleRunRecording(id: string) { export async function handleRunRecording(id: string, userId: string) {
try { try {
const result = await runWorkflow(id); const result = await runWorkflow(id);
const { browserId, runId: newRunId } = result; const { browserId, runId: newRunId } = result;