Export conduits Config struct and fix clipp warningsy

This commit is contained in:
Devin Ragotzy 2021-06-11 15:47:53 -04:00
parent fee7d3d2e3
commit 09a8737f24
4 changed files with 8 additions and 8 deletions

View file

@ -662,8 +662,7 @@ pub async fn send_transaction_message_route(
for edu in body
.edus
.iter()
.map(|edu| serde_json::from_str::<Edu>(edu.json().get()))
.filter_map(|r| r.ok())
.filter_map(|edu| serde_json::from_str::<Edu>(edu.json().get()).ok())
{
match edu {
Edu::Presence(_) => {}