Skip to content

Commit

Permalink
solve find
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan-Nava authored Jun 25, 2024
1 parent 592a210 commit aa7544e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compress/model_restreamer.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ type RestreamerSrt struct {

type findRestreamersRequest struct {
BaseModel
StartFrom int `json:"start_from" validate:"nonil" required:"true"`
Amount int `json:"amount" validate:"nonnil" required:"true"`
StartFrom int `json:"start_from" validate:"min=0,nonnil" required:"true"`
Amount int `json:"amount" validate:"min=0,nonnil" required:"true"`
}

type restreamerRequest struct {
Expand Down

0 comments on commit aa7544e

Please sign in to comment.