mirror of
https://github.com/miniflux/v2.git
synced 2025-09-15 18:57:04 +00:00
Add API endpoint to flush history
This commit is contained in:
parent
1350f84ea4
commit
5774323f2e
5 changed files with 48 additions and 4 deletions
|
@ -442,7 +442,7 @@ func (s *Storage) ToggleBookmark(userID int64, entryID int64) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
// FlushHistory set all entries with the status "read" to "removed".
|
||||
// FlushHistory changes all entries with the status "read" to "removed".
|
||||
func (s *Storage) FlushHistory(userID int64) error {
|
||||
query := `
|
||||
UPDATE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue