update the maximum page value for tokens endpoint to 100

This commit is contained in:
kim 2025-04-18 14:57:25 +01:00
commit 4c201335bd

View file

@ -117,9 +117,9 @@ func (m *Module) TokensInfoGETHandler(c *gin.Context) {
} }
page, errWithCode := paging.ParseIDPage(c, page, errWithCode := paging.ParseIDPage(c,
0, // min limit 0, // min limit
80, // max limit 100, // max limit
20, // default limit 20, // default limit
) )
if errWithCode != nil { if errWithCode != nil {
apiutil.ErrorHandler(c, errWithCode, m.processor.InstanceGetV1) apiutil.ErrorHandler(c, errWithCode, m.processor.InstanceGetV1)