mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-04 06:53:12 +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
|
# Enforce default value of page_size to 20
|
||||||
if parsedPagedSize.isNone():
|
if parsedPagedSize.isNone():
|
||||||
parsedPagedSize = some(20)
|
parsedPagedSize = some(20.uint64)
|
||||||
|
|
||||||
# Enforce max value of page_size to 100
|
# Enforce max value of page_size to 100
|
||||||
if parsedPagedSize.get() > 100:
|
if parsedPagedSize.get() > 100:
|
||||||
parsedPagedSize = some(100)
|
parsedPagedSize = some(100.uint64)
|
||||||
|
|
||||||
return ok(
|
return ok(
|
||||||
StoreQueryRequest(
|
StoreQueryRequest(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user