From 515412d6636e33a40d6feb172e22e9126ba1a228 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sat, 29 Mar 2025 23:54:44 +0800 Subject: [PATCH] :bug: Fix compile issue --- pkg/internal/services/queries/posts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/internal/services/queries/posts.go b/pkg/internal/services/queries/posts.go index 06129ac..72686fa 100644 --- a/pkg/internal/services/queries/posts.go +++ b/pkg/internal/services/queries/posts.go @@ -17,7 +17,7 @@ import ( "gorm.io/gorm" ) -const singularAttachmentFields = []string{"video", "thumbnail"} +var singularAttachmentFields = []string{"video", "thumbnail"} // This api still is experimental and finally with replace the old one // Some changes between ListPost and ListPostV2: