From d4c22b731c50f06b2b4243bb99d65ea1d7a16f3f Mon Sep 17 00:00:00 2001 From: Hellgren Heikki Date: Tue, 18 Mar 2025 12:19:17 +0200 Subject: [PATCH] fix(notifications): post process broadcast notification even without signals Signed-off-by: Hellgren Heikki --- .changeset/wise-suits-protect.md | 5 +++++ plugins/notifications-backend/src/service/router.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/wise-suits-protect.md diff --git a/.changeset/wise-suits-protect.md b/.changeset/wise-suits-protect.md new file mode 100644 index 0000000000..b1b26e4bf6 --- /dev/null +++ b/.changeset/wise-suits-protect.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-notifications-backend': patch +--- + +Make sure to post process broadcast notifications even without signals support diff --git a/plugins/notifications-backend/src/service/router.ts b/plugins/notifications-backend/src/service/router.ts index 368974b6ca..28defa9081 100644 --- a/plugins/notifications-backend/src/service/router.ts +++ b/plugins/notifications-backend/src/service/router.ts @@ -470,8 +470,8 @@ export async function createRouter( }, channel: 'notifications', }); - postProcessNotification(ret, opts); } + postProcessNotification(ret, opts); return notification; };