🐛 Fix article edit won't save description

This commit is contained in:
LittleSheep 2024-08-04 17:45:54 +08:00
parent 3a3c929858
commit 6bb5699ec4

View File

@ -143,6 +143,7 @@ func editArticle(c *fiber.Ctx) error {
body := models.PostArticleBody{ body := models.PostArticleBody{
Title: data.Title, Title: data.Title,
Description: data.Description,
Content: data.Content, Content: data.Content,
Attachments: data.Attachments, Attachments: data.Attachments,
} }