Skip to content

Commit 98e199c

Browse files
committed
chore: resolve a type casting problem
1 parent 39dee8a commit 98e199c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

meteor/server/cronjobs.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import {
2727
} from '@sofie-automation/corelib/dist/TranslatableMessage'
2828
import { applyAndValidateOverrides } from '@sofie-automation/corelib/dist/settings/objectWithOverrides'
2929
import { DBRundownPlaylist } from '@sofie-automation/corelib/dist/dataModel/RundownPlaylist'
30+
import { StudioId } from '@sofie-automation/corelib/dist/dataModel/Ids'
3031

3132
const lowPrioFcn = (fcn: () => any) => {
3233
// Do it at a random time in the future:
@@ -113,7 +114,7 @@ async function restartCasparCG(systemSettings: ICoreSystemSettings | undefined,
113114
.map((device) => device.studioAndConfigId?.studioId)
114115
.filter((id) => id !== undefined)
115116
)
116-
)
117+
) as StudioId[]
117118

118119
const activePlaylists = (await RundownPlaylists.findFetchAsync(
119120
{

0 commit comments

Comments
 (0)