Saving changes
Rust Build / Test Suite (pull_request) Failing after 1m21s
Rust Build / Check (pull_request) Failing after 1m44s
Rust Build / Rustfmt (pull_request) Failing after 27s
Rust Build / Clippy (pull_request) Failing after 1m30s
Rust Build / build (pull_request) Failing after 1m54s
Rust Build / Test Suite (pull_request) Failing after 1m21s
Rust Build / Check (pull_request) Failing after 1m44s
Rust Build / Rustfmt (pull_request) Failing after 27s
Rust Build / Clippy (pull_request) Failing after 1m30s
Rust Build / build (pull_request) Failing after 1m54s
This commit is contained in:
+4
-2
@@ -36,7 +36,7 @@ mod init {
|
|||||||
#[openapi(
|
#[openapi(
|
||||||
paths(
|
paths(
|
||||||
common_callers::endpoint::db_ping, common_callers::endpoint::root,
|
common_callers::endpoint::db_ping, common_callers::endpoint::root,
|
||||||
register_caller::register_user, login_caller::login,
|
register_caller::register_user, login_caller::user_login,
|
||||||
),
|
),
|
||||||
components(schemas(common_callers::response::TestResult,
|
components(schemas(common_callers::response::TestResult,
|
||||||
register_responses::Response, login_responses::LoginResponse)),
|
register_responses::Response, login_responses::LoginResponse)),
|
||||||
@@ -110,7 +110,9 @@ mod init {
|
|||||||
callers::endpoints::REGISTER,
|
callers::endpoints::REGISTER,
|
||||||
post(callers::register::register_user),
|
post(callers::register::register_user),
|
||||||
)
|
)
|
||||||
.route(callers::endpoints::LOGIN, post(callers::login::login))
|
.route(callers::endpoints::LOGIN,
|
||||||
|
post(callers::login::user_login),
|
||||||
|
)
|
||||||
.layer(cors::configure_cors().await)
|
.layer(cors::configure_cors().await)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user