refactor(appservices): avoid cloning frequently
This commit is contained in:
parent
5c650bb67e
commit
b20483aa13
7 changed files with 44 additions and 40 deletions
|
@ -488,7 +488,7 @@ impl Service {
|
|||
services()
|
||||
.appservice
|
||||
.get_registration(id)
|
||||
.map_err(|e| (kind.clone(), e))?
|
||||
.await
|
||||
.ok_or_else(|| {
|
||||
(
|
||||
kind.clone(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue