de-global services
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
7e50db4193
commit
2f85a5c1ac
36 changed files with 327 additions and 336 deletions
|
@ -28,7 +28,7 @@ pub(crate) async fn create_leave_event_v1_route(
|
|||
) -> Result<create_leave_event::v1::Response> {
|
||||
let origin = body.origin.as_ref().expect("server is authenticated");
|
||||
|
||||
create_leave_event(services, origin, &body.room_id, &body.pdu).await?;
|
||||
create_leave_event(&services, origin, &body.room_id, &body.pdu).await?;
|
||||
|
||||
Ok(create_leave_event::v1::Response::new())
|
||||
}
|
||||
|
@ -41,7 +41,7 @@ pub(crate) async fn create_leave_event_v2_route(
|
|||
) -> Result<create_leave_event::v2::Response> {
|
||||
let origin = body.origin.as_ref().expect("server is authenticated");
|
||||
|
||||
create_leave_event(services, origin, &body.room_id, &body.pdu).await?;
|
||||
create_leave_event(&services, origin, &body.room_id, &body.pdu).await?;
|
||||
|
||||
Ok(create_leave_event::v2::Response::new())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue