This commit is contained in:
Magnus Åhall 2024-03-30 22:26:26 +01:00
parent eea0b1c0f6
commit f9f083367e

View File

@ -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
`,
)