handle serde_json for deserialized()
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
946ca364e0
commit
4776fe66c4
13 changed files with 95 additions and 107 deletions
|
@ -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:?}")))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue