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.
Cannot replace infinite PieceInstance
1 parent 0e6a301 commit 13264bbCopy full SHA for 13264bb
packages/job-worker/src/playout/model/implementation/PlayoutPartInstanceModelImpl.ts
@@ -384,7 +384,7 @@ export class PlayoutPartInstanceModelImpl implements PlayoutPartInstanceModel {
384
}
385
386
for (const pieceInstance of pieceInstances) {
387
- if (this.pieceInstancesImpl.has(pieceInstance._id))
+ if (this.pieceInstancesImpl.get(pieceInstance._id))
388
throw new Error(
389
`Cannot replace infinite PieceInstance "${pieceInstance._id}" as it replaces a non-infinite`
390
)
0 commit comments