refactor(server): remove sort by size in pg_acl_engine.rs (dead code)

This commit is contained in:
Edouard Vanbelle
2026-05-29 13:10:13 +02:00
parent b782a59766
commit 3f70c7e20a
4 changed files with 11 additions and 52 deletions
@@ -490,7 +490,9 @@ pub async fn list_folder_contents(
auth_user: AuthUser,
path: Path<String>,
) -> axum::response::Response {
tracing::warn!("Deprecated endpoint called: GET /api/folders/{{id}}/contents — use GET /api/folders/{{id}}/resources?resource_types=folder instead");
tracing::warn!(
"Deprecated endpoint called: GET /api/folders/{{id}}/contents — use GET /api/folders/{{id}}/resources?resource_types=folder instead"
);
FolderHandler::list_folder_contents_impl(state, auth_user, path).await
}
@@ -534,7 +536,9 @@ pub async fn list_folder_contents_paginated(
path: Path<String>,
pagination: Query<PaginationRequestDto>,
) -> axum::response::Response {
tracing::warn!("Deprecated endpoint called: GET /api/folders/{{id}}/contents/paginated — use GET /api/folders/{{id}}/resources instead");
tracing::warn!(
"Deprecated endpoint called: GET /api/folders/{{id}}/contents/paginated — use GET /api/folders/{{id}}/resources instead"
);
FolderHandler::list_folder_contents_paginated_impl(state, auth_user, path, pagination).await
}