From e0c0c5ccd20ae2b1bc4ccf524044fbad222622b5 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Mon, 14 Oct 2024 08:19:47 -0700 Subject: [PATCH] chore: author name if no mastodon --- views/feeds/syndication.psql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/feeds/syndication.psql b/views/feeds/syndication.psql index b4fbb95a..0eaf7014 100644 --- a/views/feeds/syndication.psql +++ b/views/feeds/syndication.psql @@ -33,7 +33,7 @@ WITH syndication_data AS ( WHEN l.mastodon IS NOT NULL THEN ' via @' || split_part(l.mastodon, '@', 2) || '@' || split_part(split_part(l.mastodon, 'https://', 2), '/', 1) ELSE '' - END, ' ', ( + END, CONCAT(' via ', l.name), ( SELECT array_to_string( array_agg('#' || initcap(replace(t.name, ' ', ''))), ' ' )