From f9f083367ea24c50fc692eefc7f0de4765883c49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20=C3=85hall?= Date: Sat, 30 Mar 2024 22:26:26 +0100 Subject: [PATCH] Fixed #1 --- notification_manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notification_manager.go b/notification_manager.go index 7022af9..5d674da 100644 --- a/notification_manager.go +++ b/notification_manager.go @@ -37,7 +37,7 @@ func InitNotificationManager() (err error) {// {{{ user_id ASC, prio ASC ) - SELECT jsonb_agg(s.*) + SELECT COALESCE(jsonb_agg(s.*), '[]') FROM services s `, )