handle serde_json for deserialized()

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-09-28 15:14:48 +00:00 committed by strawberry
commit 4776fe66c4
13 changed files with 95 additions and 107 deletions

View file

@ -33,7 +33,7 @@ pub async fn get_outlier_pdu_json(&self, event_id: &EventId) -> Result<Canonical
.eventid_outlierpdu
.qry(event_id)
.await
.deserialized_json()
.deserialized()
}
/// Returns the pdu from the outlier tree.
@ -43,7 +43,7 @@ pub async fn get_pdu_outlier(&self, event_id: &EventId) -> Result<PduEvent> {
.eventid_outlierpdu
.qry(event_id)
.await
.deserialized_json()
.deserialized()
}
/// Append the PDU as an outlier.