fix compilation issues

This commit is contained in:
Ivan Folgueira Bande 2025-09-10 11:12:30 +02:00
parent f7cbc329cd
commit 1294c5dc31
No known key found for this signature in database
GPG Key ID: 3C117481F89E24A7

View File

@ -131,11 +131,11 @@ proc createStoreQuery(
# Enforce default value of page_size to 20
if parsedPagedSize.isNone():
parsedPagedSize = some(20)
parsedPagedSize = some(20.uint64)
# Enforce max value of page_size to 100
if parsedPagedSize.get() > 100:
parsedPagedSize = some(100)
parsedPagedSize = some(100.uint64)
return ok(
StoreQueryRequest(