mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 13:31:56 +00:00
fix[BE]: Adjust validation for MarketingQuery limit to remove max constraint
This commit is contained in:
@@ -17,7 +17,7 @@ type ExpenseQuery struct {
|
|||||||
|
|
||||||
type MarketingQuery struct {
|
type MarketingQuery struct {
|
||||||
Page int `query:"page" validate:"omitempty,min=1,gt=0"`
|
Page int `query:"page" validate:"omitempty,min=1,gt=0"`
|
||||||
Limit int `query:"limit" validate:"omitempty,min=1,max=100,gt=0"`
|
Limit int `query:"limit" validate:"omitempty,min=1,gt=0"`
|
||||||
Search string `query:"search" validate:"omitempty,max=100"`
|
Search string `query:"search" validate:"omitempty,max=100"`
|
||||||
CustomerId int64 `query:"customer_id" validate:"omitempty"`
|
CustomerId int64 `query:"customer_id" validate:"omitempty"`
|
||||||
ProductId int64 `query:"product_id" validate:"omitempty"`
|
ProductId int64 `query:"product_id" validate:"omitempty"`
|
||||||
|
|||||||
Reference in New Issue
Block a user