We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 333d401 commit c42e4cbCopy full SHA for c42e4cb
packages/job-worker/src/playout/snapshot.ts
@@ -368,7 +368,7 @@ export async function handleRestorePlaylistSnapshot(
368
piece?: unknown
369
}
370
>(objs: undefined | T[], updateId: boolean): T[] {
371
- const updateIds = (obj: T, updateId: boolean) => {
+ const updateIds = (obj: T, updateOwnId: boolean) => {
372
if (obj.rundownId) {
373
obj.rundownId = getNewRundownId(obj.rundownId)
374
@@ -383,7 +383,7 @@ export async function handleRestorePlaylistSnapshot(
383
obj.partInstanceId = partInstanceIdMap.get(obj.partInstanceId) || getRandomId()
384
385
386
- if (updateId) {
+ if (updateOwnId) {
387
obj._id = getRandomId()
388
389
0 commit comments