mirror of
https://github.com/status-im/nim-dagger.git
synced 2025-01-11 15:14:30 +00:00
fix(api): correctly using tolerance for storage request (#359)
This commit is contained in:
parent
c3095f78a2
commit
6cbf3ab044
@ -144,7 +144,7 @@ proc initRestApi*(node: CodexNodeRef, conf: CodexConf): RestRouter =
|
||||
return RestApiResponse.error(Http400, error.msg)
|
||||
|
||||
let nodes = params.nodes |? 1
|
||||
let tolerance = params.nodes |? 0
|
||||
let tolerance = params.tolerance |? 0
|
||||
|
||||
without purchaseId =? await node.requestStorage(
|
||||
cid,
|
||||
|
Loading…
x
Reference in New Issue
Block a user