Skip to content

Commit 6bc56f2

Browse files
committed
Merge branch 'scheduling-not-working' of Arnei/opencast-admin-interface into r/19.x
Pull request #1517 Fixes #1515 Fix scheduling due to missing device id
2 parents f5fabb3 + f2d0675 commit 6bc56f2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/slices/eventSlice.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,7 @@ export const postNewEvent = (params: {
451451
scheduleStartHour: string,
452452
scheduleStartMinute: string,
453453
sourceMode: string,
454+
location: string,
454455
uploadAssetsTrack?: UploadAssetsTrack[],
455456
metadata: { [key: string]: unknown },
456457
},
@@ -544,7 +545,7 @@ export const postNewEvent = (params: {
544545
type: values.sourceMode,
545546
metadata: {
546547
start: startDate,
547-
device: values.metadata.location,
548+
device: values.location,
548549
inputs: values.inputs ? values.inputs.join(",") : "",
549550
end: endDate,
550551
duration: duration.toString(),

0 commit comments

Comments
 (0)