mirror of
https://github.com/nkanaev/yarr.git
synced 2025-09-13 18:00:05 +00:00
remove item.date_updated, item.description & item.author fields in storage
This commit is contained in:
@@ -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" {
|
||||
|
Reference in New Issue
Block a user