remove item.date_updated, item.description & item.author fields in storage

This commit is contained in:
Nazar Kanaev
2021-04-05 21:29:52 +01:00
parent ecdfcb5017
commit 6acf9af887
4 changed files with 51 additions and 61 deletions

View File

@@ -248,7 +248,6 @@ func (s *Server) handleItem(c *router.Context) {
return
}
item.Content = sanitizer.Sanitize(item.Link, item.Content)
item.Description = sanitizer.Sanitize(item.Link, item.Description)
c.JSON(http.StatusOK, item)
} else if c.Req.Method == "PUT" {