rename constructor for sending service

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

View file

@ -177,7 +177,7 @@ impl Services {
media: media::Service {
db,
},
sending: sending::Service::build(db, &config),
sending: sending::Service::new(db, &config),
globals: globals::Service::load(db, config, reload_handles)?,
})

View file

@ -159,7 +159,7 @@ enum SelectedEvents {
}
impl Service {
pub(crate) fn build(db: &'static dyn Data, config: &Config) -> Arc<Self> {
pub(crate) fn new(db: &'static dyn Data, config: &Config) -> Arc<Self> {
let (sender, receiver) = mpsc::unbounded_channel();
Arc::new(Self {
db,