mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-24 06:39:58 -07:00
global: fixes
This commit is contained in:
@@ -96,7 +96,7 @@ impl BRK {
|
||||
dateindex + CHUNK_SIZE
|
||||
);
|
||||
|
||||
let body: Value = sonic_rs::from_str(minreq::get(url).send()?.json()?)?;
|
||||
let body: Value = sonic_rs::from_str(minreq::get(url).send()?.as_str()?)?;
|
||||
|
||||
body.as_array()
|
||||
.ok_or(Error::Str("Expect to be an array"))?
|
||||
|
||||
Reference in New Issue
Block a user