pagination offset bug fix

This commit is contained in:
Mazyar
2026-05-13 00:07:31 +03:30
parent be53fa8054
commit c518cd3afb
7 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ package document_scraper
// DocumentScraperListRequest represents the request to list tenders pending document scraping
type DocumentScraperListRequest struct {
Limit int `query:"limit" valid:"optional,range(1|100)" default:"20"`
Offset int `query:"offset" valid:"optional,min(0)" default:"0"`
Offset int `query:"offset" valid:"optional,range(0|1000000)" default:"0"`
}
// DocumentScraperGetRequest represents the request to get a specific tender by notice publication ID