From 6b9c51bc676d1534329d87c2058bcf0337c05390 Mon Sep 17 00:00:00 2001 From: Arnei Date: Thu, 5 Mar 2026 09:56:53 +0100 Subject: [PATCH] Fix scheduling due to missing device id The function that creates the scheduling request for the backend was looking for the device id in the wrong place. --- src/slices/eventSlice.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/slices/eventSlice.ts b/src/slices/eventSlice.ts index f1e022eb28..6a5c363f15 100644 --- a/src/slices/eventSlice.ts +++ b/src/slices/eventSlice.ts @@ -451,6 +451,7 @@ export const postNewEvent = (params: { scheduleStartHour: string, scheduleStartMinute: string, sourceMode: string, + location: string, uploadAssetsTrack?: UploadAssetsTrack[], metadata: { [key: string]: unknown }, }, @@ -544,7 +545,7 @@ export const postNewEvent = (params: { type: values.sourceMode, metadata: { start: startDate, - device: values.metadata.location, + device: values.location, inputs: values.inputs ? values.inputs.join(",") : "", end: endDate, duration: duration.toString(),