Finish guards, add channel info route.

This commit is contained in:
Paul Makles
2020-01-26 15:32:31 +00:00
parent 955e482dae
commit 5262095bed
3 changed files with 35 additions and 2 deletions

View File

@@ -8,4 +8,5 @@ pub fn mount(rocket: Rocket) -> Rocket {
rocket
.mount("/api/account", routes![ account::create, account::verify_email, account::resend_email, account::login ])
.mount("/api/users", routes![ user::me, user::user, user::lookup, user::dms, user::dm, user::get_friends, user::get_friend, user::add_friend, user::remove_friend ])
.mount("/api/channels", routes![ channel::channel ])
}