fixed tests
This commit is contained in:
parent
fea05c928c
commit
e204255691
3 changed files with 43 additions and 22 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue