mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-16 15:21:24 +01:00
rename constructor for admin service
This commit is contained in:
parent
e06d126d4e
commit
4faa8ea37c
2 changed files with 2 additions and 2 deletions
|
|
@ -172,7 +172,7 @@ impl Services {
|
|||
uiaa: uiaa::Service::new(db),
|
||||
users: users::Service::new(db),
|
||||
account_data: db,
|
||||
admin: admin::Service::build(),
|
||||
admin: admin::Service::new(),
|
||||
key_backups: db,
|
||||
media: media::Service {
|
||||
db,
|
||||
|
|
|
|||
|
|
@ -230,7 +230,7 @@ enum TracingBackend {
|
|||
}
|
||||
|
||||
impl Service {
|
||||
pub(crate) fn build() -> Arc<Self> {
|
||||
pub(crate) fn new() -> Arc<Self> {
|
||||
let (sender, receiver) = mpsc::unbounded_channel();
|
||||
Arc::new(Self {
|
||||
sender,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue