mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-02 14:03:06 +00:00
fix compilation issues
This commit is contained in:
parent
f7cbc329cd
commit
1294c5dc31
@ -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(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user