mirror of
https://github.com/0xrsydn/idx-cli.git
synced 2026-08-07 01:33:52 +00:00
fix(ci): format MSN mock provider parsing
This commit is contained in:
parent
2cdefeb7a6
commit
aeab18e94f
1 changed files with 3 additions and 2 deletions
|
|
@ -91,7 +91,8 @@ impl MockProvider {
|
||||||
.map_err(|e| IdxError::ParseError(e.to_string()));
|
.map_err(|e| IdxError::ParseError(e.to_string()));
|
||||||
let fundamentals = msn::parse_fundamentals_from_str(&fundamentals_raw, Some("e_raw))
|
let fundamentals = msn::parse_fundamentals_from_str(&fundamentals_raw, Some("e_raw))
|
||||||
.map_err(|e| IdxError::ParseError(e.to_string()));
|
.map_err(|e| IdxError::ParseError(e.to_string()));
|
||||||
let history = msn::parse_history_from_str(&crate::api::types::Period::ThreeMonths, &history_raw)
|
let history =
|
||||||
|
msn::parse_history_from_str(&crate::api::types::Period::ThreeMonths, &history_raw)
|
||||||
.map_err(|e| IdxError::ParseError(e.to_string()));
|
.map_err(|e| IdxError::ParseError(e.to_string()));
|
||||||
|
|
||||||
Self {
|
Self {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue