From 4575dbc8881c05a7d1244fe3ffa7d0068eb5295c Mon Sep 17 00:00:00 2001 From: Saelmala Date: Tue, 17 Sep 2024 12:00:41 +0200 Subject: [PATCH] fix: clean up input_slot definition --- src/api/manager/workflow.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/manager/workflow.ts b/src/api/manager/workflow.ts index b74bf4b..8627fdd 100644 --- a/src/api/manager/workflow.ts +++ b/src/api/manager/workflow.ts @@ -82,7 +82,7 @@ async function connectIngestSources( for (const source of sources) { input_slot = productionSources.find((s) => s._id === source._id.toString()) - ?.input_slot || 5; + ?.input_slot || input_slot + 1; const ingestUuid = await getUuidFromIngestName( source.ingest_name, false