rename router to routes

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-06-16 21:29:59 +00:00
parent 8affdc43a6
commit 64705fa27d
3 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
pub mod client;
pub mod router;
pub mod routes;
mod ruma_wrapper;
pub mod server;

View file

@ -15,7 +15,7 @@ pub(crate) fn build(server: &Arc<Server>) -> Router {
.fallback(not_found)
.with_state(state);
api::router::build(router, server)
api::routes::build(router, server)
}
async fn not_found(_uri: Uri) -> impl IntoResponse {