handle serde_json for deserialized()

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk authored and strawberry committed 2024-10-25 00:32:33 -04:00
1 parent 946ca364e0
commit 4776fe66c4
13 files changed
+95 -107

No files matched your search

+1 -1
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:?}")))
}