remove filter in CountItems

This commit is contained in:
nkanaev
2026-05-10 22:18:37 +01:00
parent 76c2b9a475
commit 8fc01db275
3 changed files with 9 additions and 13 deletions

View File

@@ -278,7 +278,7 @@ func (s *Server) feverItemsHandler(c *router.Context) {
}
}
totalItems := s.db.CountItems(storage.ItemFilter{})
totalItems := s.db.CountItems()
writeFeverJSON(c, map[string]any{
"items": feverItems,