From ba7f8f258dd36a3434f49b4b56c61cc24b7bad16 Mon Sep 17 00:00:00 2001 From: oshawott Date: Thu, 17 Mar 2022 16:05:52 +1100 Subject: [PATCH] Fix notification error. --- src/api/notification/NotificationUtilities.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/notification/NotificationUtilities.ts b/src/api/notification/NotificationUtilities.ts index 067e7a1d..7aeda5eb 100644 --- a/src/api/notification/NotificationUtilities.ts +++ b/src/api/notification/NotificationUtilities.ts @@ -58,7 +58,7 @@ export class NotificationUtilities { let imageUrl = options.get('image'); - if(!imageUrl) imageUrl = GetConfiguration('image.library.notifications.url', '').replace('%image', type.replace(/\./g, '_')); + if(!imageUrl) imageUrl = GetConfiguration('image.library.notifications.url', '').replace('%image%', type.replace(/\./g, '_')); return LocalizeText(imageUrl); }