fix: pass userId
This commit is contained in:
@@ -172,7 +172,7 @@ function resetRecordingState(browserId: string, id: string) {
|
|||||||
|
|
||||||
export async function handleRunRecording(id: string, userId: string) {
|
export async function handleRunRecording(id: string, userId: string) {
|
||||||
try {
|
try {
|
||||||
const result = await runWorkflow(id);
|
const result = await runWorkflow(id, userId);
|
||||||
const { browserId, runId: newRunId } = result;
|
const { browserId, runId: newRunId } = result;
|
||||||
|
|
||||||
if (!browserId || !newRunId || !userId) {
|
if (!browserId || !newRunId || !userId) {
|
||||||
|
|||||||
Reference in New Issue
Block a user