fix products listing

This commit is contained in:
2026-03-24 14:39:13 +01:00
parent 3b80fa6dbe
commit 73cc936d56
8 changed files with 22 additions and 108 deletions

View File

@@ -10,8 +10,8 @@ import (
)
type Paging struct {
Page uint `json:"page_number" example:"5"`
Elements uint `json:"elements_per_page" example:"30"`
Page uint `json:"p" example:"5"`
Elements uint `json:"elems" example:"30"`
}
func (p Paging) Offset() int {