forked from gorb/backend
feat: move me endpoint to /me and add /me/servers
This commit is contained in:
parent
b8cf21903e
commit
39d01bb0d0
7 changed files with 61 additions and 8 deletions
|
@ -8,14 +8,11 @@ use crate::{
|
|||
utils::get_auth_header,
|
||||
};
|
||||
|
||||
mod me;
|
||||
mod uuid;
|
||||
|
||||
pub fn web() -> Scope {
|
||||
web::scope("/users")
|
||||
.service(res)
|
||||
.service(me::res)
|
||||
.service(me::update)
|
||||
.service(uuid::res)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue