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
parent 946ca364e0
commit 4776fe66c4
13 changed files with 95 additions and 107 deletions

View file

@ -40,7 +40,7 @@ impl Data {
self.id_appserviceregistrations
.qry(id)
.await
.deserialized_json()
.deserialized()
.map_err(|e| err!(Database("Invalid appservice {id:?} registration: {e:?}")))
}