mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 21:26:50 +00:00
Optimize OnceServices; simplify init.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
d05d3f710f
commit
0aea56f02a
4 files changed
+239
-196
No files matched your search
@@ -211,7 +211,7 @@ impl Service {
|
||||
.await
|
||||
.expect("Admin module is not loaded");
|
||||
|
||||
handle(Arc::clone(self.services.get_services()), command).await
|
||||
handle(Arc::clone(self.services.get()), command).await
|
||||
}
|
||||
|
||||
/// Checks whether a given user is an admin of this server
|
||||
|
||||
Reference in new issue
Block a user