🐛 Fix article edit won't save description
This commit is contained in:
parent
3a3c929858
commit
6bb5699ec4
@ -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,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user