rename constructor for admin service

This commit is contained in:
Charles Hall 2024-10-08 16:36:45 -07:00
parent e06d126d4e
commit 4faa8ea37c
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
2 changed files with 2 additions and 2 deletions

View file

@ -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,

View file

@ -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,