mirror of
https://gitlab.com/famedly/conduit.git
synced 2024-12-29 05:53:48 +03:00
dbg
This commit is contained in:
parent
4b4afea2ab
commit
74951cb239
1 changed files with 3 additions and 2 deletions
|
@ -1922,8 +1922,9 @@ pub(crate) fn fetch_and_handle_outliers<'a>(
|
||||||
if let Some(auth_events) = value.get("auth_events").and_then(|c| c.as_array()) {
|
if let Some(auth_events) = value.get("auth_events").and_then(|c| c.as_array()) {
|
||||||
for auth_event in auth_events {
|
for auth_event in auth_events {
|
||||||
if let Some(Ok(auth_event)) = auth_event.as_str()
|
if let Some(Ok(auth_event)) = auth_event.as_str()
|
||||||
.map(|e| serde_json::from_str(e)) {
|
.map(|e| {let ev: std::result::Result<Arc<EventId>, _> = dbg!(serde_json::from_str(dbg!(e))); ev}) {
|
||||||
todo_auth_events.push(auth_event);
|
let a: Arc<EventId> = auth_event;
|
||||||
|
todo_auth_events.push(a);
|
||||||
} else {
|
} else {
|
||||||
warn!("Auth event id is not valid");
|
warn!("Auth event id is not valid");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue