mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 07:41:23 +01:00
rename Services constructor
This commit is contained in:
parent
fefc84e8c7
commit
4083451a10
2 changed files with 2 additions and 2 deletions
|
|
@ -84,7 +84,7 @@ pub(crate) async fn run(args: ServeArgs) -> Result<(), error::ServeCommand> {
|
||||||
.map_err(Error::DatabaseError)?,
|
.map_err(Error::DatabaseError)?,
|
||||||
));
|
));
|
||||||
|
|
||||||
Services::build(db, config, Some(reload_handles))
|
Services::new(db, config, Some(reload_handles))
|
||||||
.map_err(Error::InitializeServices)?
|
.map_err(Error::InitializeServices)?
|
||||||
.install();
|
.install();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ pub(crate) struct Services {
|
||||||
|
|
||||||
impl Services {
|
impl Services {
|
||||||
#[allow(clippy::too_many_lines)]
|
#[allow(clippy::too_many_lines)]
|
||||||
pub(crate) fn build<
|
pub(crate) fn new<
|
||||||
D: appservice::Data
|
D: appservice::Data
|
||||||
+ pusher::Data
|
+ pusher::Data
|
||||||
+ rooms::Data
|
+ rooms::Data
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue