mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-16 15:21:24 +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)?,
|
||||
));
|
||||
|
||||
Services::build(db, config, Some(reload_handles))
|
||||
Services::new(db, config, Some(reload_handles))
|
||||
.map_err(Error::InitializeServices)?
|
||||
.install();
|
||||
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ pub(crate) struct Services {
|
|||
|
||||
impl Services {
|
||||
#[allow(clippy::too_many_lines)]
|
||||
pub(crate) fn build<
|
||||
pub(crate) fn new<
|
||||
D: appservice::Data
|
||||
+ pusher::Data
|
||||
+ rooms::Data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue