mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-16 15:21:24 +01:00
rename constructor for globals service
This commit is contained in:
parent
55b605f046
commit
fefc84e8c7
2 changed files with 2 additions and 2 deletions
|
|
@ -179,7 +179,7 @@ impl Services {
|
|||
},
|
||||
sending: sending::Service::new(db, &config),
|
||||
|
||||
globals: globals::Service::load(db, config, reload_handles)?,
|
||||
globals: globals::Service::new(db, config, reload_handles)?,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -197,7 +197,7 @@ impl Resolve for Resolver {
|
|||
|
||||
impl Service {
|
||||
#[tracing::instrument(skip_all)]
|
||||
pub(crate) fn load(
|
||||
pub(crate) fn new(
|
||||
db: &'static dyn Data,
|
||||
config: Config,
|
||||
reload_handles: Option<FilterReloadHandles>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue