From e2ff3545d097c74429bc81070f503795d5f1008f Mon Sep 17 00:00:00 2001 From: Julian Waller Date: Mon, 16 Oct 2023 12:57:57 +0100 Subject: [PATCH] fix: allow BucketAdlibAction to access PackageInfos SOFIE-2655 (#1052) --- packages/job-worker/src/playout/adlibAction.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/job-worker/src/playout/adlibAction.ts b/packages/job-worker/src/playout/adlibAction.ts index 0f5b3d5815..05a0030b66 100644 --- a/packages/job-worker/src/playout/adlibAction.ts +++ b/packages/job-worker/src/playout/adlibAction.ts @@ -54,7 +54,11 @@ export async function handleExecuteAdlibAction( const watchedPackages = await WatchedPackagesHelper.create(context, context.studio._id, { pieceId: data.actionDocId, fromPieceType: { - $in: [ExpectedPackageDBType.ADLIB_ACTION, ExpectedPackageDBType.BASELINE_ADLIB_ACTION], + $in: [ + ExpectedPackageDBType.ADLIB_ACTION, + ExpectedPackageDBType.BASELINE_ADLIB_ACTION, + ExpectedPackageDBType.BUCKET_ADLIB_ACTION, + ], }, })