merge rooms/short Data w/ Service; optimize queries
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
0e8ae1e13e
commit
c569881b08
18 changed files with 257 additions and 262 deletions
|
@ -38,7 +38,7 @@ impl Data {
|
|||
|
||||
pub async fn get_registration(&self, id: &str) -> Result<Registration> {
|
||||
self.id_appserviceregistrations
|
||||
.qry(id)
|
||||
.get(id)
|
||||
.await
|
||||
.deserialized()
|
||||
.map_err(|e| err!(Database("Invalid appservice {id:?} registration: {e:?}")))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue