From 6bb5699ec4cb59c956c5ed7522d0725d286927dd Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sun, 4 Aug 2024 17:45:54 +0800 Subject: [PATCH] :bug: Fix article edit won't save description --- pkg/internal/server/api/articles_api.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/internal/server/api/articles_api.go b/pkg/internal/server/api/articles_api.go index 3b4b04c..bf222ce 100644 --- a/pkg/internal/server/api/articles_api.go +++ b/pkg/internal/server/api/articles_api.go @@ -143,6 +143,7 @@ func editArticle(c *fiber.Ctx) error { body := models.PostArticleBody{ Title: data.Title, + Description: data.Description, Content: data.Content, Attachments: data.Attachments, }