fix: minor fix to query
All checks were successful
Build and Deploy Go App / build (push) Successful in 8m58s
Build and Deploy Go App / deploy (push) Successful in 3m40s

This commit is contained in:
Iron_Felix 2025-11-22 08:01:46 +03:00
parent 79485e04c0
commit 6fa2ff2eb8
2 changed files with 150 additions and 170 deletions

View file

@ -78,7 +78,7 @@ SELECT
t.*,
i.storage_type::text as title_storage_type,
i.image_path as title_image_path,
jsonb_agg_strict(g.tag_name)'[]'::jsonb as tag_names,
jsonb_agg(g.tag_name)'[]'::jsonb as tag_names,
s.studio_name as studio_name,
s.illust_id as studio_illust_id,
s.studio_desc as studio_desc,
@ -101,7 +101,7 @@ SELECT
t.*,
i.storage_type::text as title_storage_type,
i.image_path as title_image_path,
jsonb_agg_strict(g.tag_name)'[]'::jsonb as tag_names,
jsonb_agg(g.tag_name)'[]'::jsonb as tag_names,
s.studio_name as studio_name,
s.illust_id as studio_illust_id,
s.studio_desc as studio_desc,