From b3b4eb7369e5b6822379c59ef83fe72230c4c6bc Mon Sep 17 00:00:00 2001 From: Julian Waller Date: Fri, 13 Oct 2023 14:28:07 +0100 Subject: [PATCH] fix: allow BucketAdlibAction to access PackageInfos --- 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, + ], }, })