more path name fix
This commit is contained in:
parent
4ec36c1cda
commit
228bc68327
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ mod invites;
|
|||
mod me;
|
||||
mod stats;
|
||||
mod users;
|
||||
mod members;
|
||||
mod member;
|
||||
|
||||
pub fn router(app_state: Arc<AppState>) -> Router<Arc<AppState>> {
|
||||
let router_with_auth = Router::new()
|
||||
|
@ -30,6 +30,6 @@ pub fn router(app_state: Arc<AppState>) -> Router<Arc<AppState>> {
|
|||
.route("/stats", get(stats::res))
|
||||
.nest("/auth", auth::router(app_state.clone()))
|
||||
.nest("/channels", channels::router(app_state.clone()))
|
||||
.nest("/members", members::router(app_state))
|
||||
.nest("/member", member::router(app_state))
|
||||
.merge(router_with_auth)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue