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…
Reference in New Issue