remove item.date_updated, item.description & item.author fields in storage
This commit is contained in:
parent
ecdfcb5017
commit
6acf9af887
4 changed files with 51 additions and 61 deletions
|
|
@ -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" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue