Cleanup
soaricarus_auth Build / Rustfmt (pull_request) Successful in 45s
soaricarus_auth Build / Check (pull_request) Successful in 55s
soaricarus_auth Build / Clippy (pull_request) Successful in 54s
soaricarus_auth Build / Test Suite (pull_request) Successful in 1m7s
soaricarus_auth Build / build (pull_request) Successful in 2m2s
soaricarus_auth Build / Rustfmt (pull_request) Successful in 45s
soaricarus_auth Build / Check (pull_request) Successful in 55s
soaricarus_auth Build / Clippy (pull_request) Successful in 54s
soaricarus_auth Build / Test Suite (pull_request) Successful in 1m7s
soaricarus_auth Build / build (pull_request) Successful in 2m2s
This commit is contained in:
1 file changed
-19
@@ -12,22 +12,3 @@ pub mod endpoints {
|
|||||||
pub const REFRESH_TOKEN: &str = "/api/v2/token/refresh";
|
pub const REFRESH_TOKEN: &str = "/api/v2/token/refresh";
|
||||||
pub const GET_USER_PROFILE: &str = "/api/v2/user/profile/{id}";
|
pub const GET_USER_PROFILE: &str = "/api/v2/user/profile/{id}";
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
/// Endpoint to get user profile
|
|
||||||
#[utoipa::path(
|
|
||||||
get,
|
|
||||||
path = super::super::endpoints::GET_USER_PROFILE,
|
|
||||||
params(("id" = uuid::Uuid, Path, description = "Get user profile")),
|
|
||||||
responses(
|
|
||||||
(status = 200, description = "User profileRequestRequest found", body = super::response::GetUserProfileRequest)),
|
|
||||||
(status = 404, description = "Song not found", body = super::response::GetUserProfileRequest)),
|
|
||||||
(status = 400, description = "Error downloading song", super::response::GetUserProfileRequest)),
|
|
||||||
)
|
|
||||||
)]
|
|
||||||
pub async fn get_user_profile(
|
|
||||||
axum::Extension(pool): axum::Extension<sqlx::PgPool>,
|
|
||||||
axum::extract::Path(id): axum::extract::Path<uuid::Uuid>,
|
|
||||||
) -> (axum::http::StatusCode, axum::Json<axum::response::GetUserProfileResponse>) {
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
Reference in new issue
Block a user