mirror of
https://github.com/go-shiori/shiori.git
synced 2024-11-16 06:06:31 +08:00
Remove unnecessary log
This commit is contained in:
parent
ae2aea35e2
commit
2d10415bb4
1 changed files with 0 additions and 2 deletions
|
@ -163,10 +163,8 @@ func (h *webHandler) apiInsertBookmark(w http.ResponseWriter, r *http.Request, p
|
|||
// Save bookmark to database
|
||||
_, err = h.db.InsertBookmark(book)
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
book.ID = h.db.GetBookmarkID(book.URL)
|
||||
book.Modified = time.Now().UTC().Format("2006-01-02 15:04:05")
|
||||
fmt.Println(book.ID, book.Modified)
|
||||
_, err = h.db.UpdateBookmarks(book)
|
||||
checkError(err)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue