fixed tests

This commit is contained in:
bronku 2025-03-31 21:09:38 +02:00
parent fea05c928c
commit e204255691
3 changed files with 43 additions and 22 deletions

View file

@ -12,7 +12,7 @@ import (
func (h *Server) orders(_ *http.Request) (any, int, error) {
//r.URL.Query().Get()
orders, err := h.s.GetTopOrders(time.Now(), time.Now().Add(time.Hour*24))
orders, err := h.s.GetFilteredOrder("", time.Now(), time.Now().Add(time.Hour*24))
data := struct {
Today string
Orders []models.Order