forked from gorb/backend
style: move /me/servers to /me/guilds
This commit is contained in:
parent
94c4428bb0
commit
55e343507e
2 changed files with 8 additions and 5 deletions
|
@ -6,10 +6,13 @@ use crate::{
|
|||
api::v1::auth::check_access_token, error::Error, structs::Me, utils::{get_auth_header, global_checks}, Data
|
||||
};
|
||||
|
||||
mod servers;
|
||||
mod guilds;
|
||||
|
||||
pub fn web() -> Scope {
|
||||
web::scope("/me").service(get).service(update)
|
||||
web::scope("/me")
|
||||
.service(get)
|
||||
.service(update)
|
||||
.service(guilds::get)
|
||||
}
|
||||
|
||||
#[get("")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue