mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 15:51:23 +01:00
rename appservice service constructor
This commit is contained in:
parent
5be1e20eb4
commit
b18df8de70
2 changed files with 2 additions and 2 deletions
|
|
@ -117,7 +117,7 @@ pub(crate) struct Service {
|
|||
}
|
||||
|
||||
impl Service {
|
||||
pub(crate) fn build(db: &'static dyn Data) -> Result<Self> {
|
||||
pub(crate) fn new(db: &'static dyn Data) -> Result<Self> {
|
||||
let mut registration_info = BTreeMap::new();
|
||||
// Inserting registrations into cache
|
||||
for appservice in db.all()? {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue