backend: fix several entities
This commit is contained in:
parent
98a3029444
commit
b7fc25b3da
3 changed files with 8 additions and 8 deletions
|
@ -11,11 +11,11 @@ pub fn config(cfg: &mut web::ServiceConfig) {
|
|||
)
|
||||
.service(web::resource("/users/{user_id}"))
|
||||
.service(
|
||||
web::resource("/license")
|
||||
web::resource("/licenses")
|
||||
.get(LicenseController::list_groups)
|
||||
.post(LicenseController::create_license),
|
||||
)
|
||||
.route("/group", web::post().to(LicenseController::create_group))
|
||||
.route("/groups", web::post().to(LicenseController::create_group))
|
||||
.service(web::scope("/auth").route("/login", web::post().to(AuthController::login))),
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue