From c522e88025425da496926f2c429175fd9ccc1bd9 Mon Sep 17 00:00:00 2001 From: Maina Wycliffe Date: Wed, 2 Oct 2024 19:52:18 +0300 Subject: [PATCH] fix: add missing icon for notification send history resource --- views/021_notification.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/021_notification.sql b/views/021_notification.sql index 51462289..0bbd38be 100644 --- a/views/021_notification.sql +++ b/views/021_notification.sql @@ -72,7 +72,7 @@ UNION SELECT nsh.*, 'component' as "resource_type", - jsonb_build_object('id', component.id, 'name', component.name) as resource + jsonb_build_object('id', component.id, 'name', component.name, 'icon', component.icon) as resource FROM notification_send_history nsh LEFT JOIN ( SELECT