tsk-50: Endpoint is available
This commit is contained in:
@@ -7,4 +7,5 @@ pub mod endpoints {
|
||||
pub const REGISTER: &str = "/api/v2/register";
|
||||
pub const DBTEST: &str = "/api/v2/test/db";
|
||||
pub const LOGIN: &str = "/api/v2/login";
|
||||
pub const SERVICE_LOGIN: &str = "/api/v2/service/login";
|
||||
}
|
||||
|
@@ -41,6 +41,7 @@ mod init {
|
||||
callers::endpoints::LOGIN,
|
||||
post(callers::login::endpoint::login),
|
||||
)
|
||||
.route(callers::endpoints::SERVICE_LOGIN, post(callers::login::endpoint::service_login))
|
||||
}
|
||||
|
||||
pub async fn app() -> Router {
|
||||
|
Reference in New Issue
Block a user