feat: move me endpoint to /me and add /me/servers
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
This commit is contained in:
parent
b8cf21903e
commit
39d01bb0d0
7 changed files with 61 additions and 8 deletions
|
@ -5,6 +5,7 @@ mod invites;
|
|||
mod servers;
|
||||
mod stats;
|
||||
mod users;
|
||||
mod me;
|
||||
|
||||
pub fn web() -> Scope {
|
||||
web::scope("/v1")
|
||||
|
@ -13,4 +14,5 @@ pub fn web() -> Scope {
|
|||
.service(users::web())
|
||||
.service(servers::web())
|
||||
.service(invites::web())
|
||||
.service(me::web())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue