1
0
Fork 0
forked from gorb/backend

style: move /me/servers to /me/guilds

This commit is contained in:
Radical 2025-05-30 08:37:45 +00:00
parent 94c4428bb0
commit 55e343507e
2 changed files with 8 additions and 5 deletions

View file

@ -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("")]