Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
indpurvesh committed Aug 25, 2024
1 parent 9ad27a1 commit 90353f4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/api/handlers/asset/delete_asset_api_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ use axum::response::IntoResponse;
use tokio::fs;
use crate::error::Error;
use crate::models::token_claim_model::LoggedInUser;
use crate::models::validation_error::{ErrorMessage, ErrorResponse};

pub async fn delete_asset_api_handler(
Path(asset_id): Path<String>,
Expand Down
1 change: 0 additions & 1 deletion src/api/handlers/asset/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
pub mod asset_table_api_handler;
pub mod store_asset_api_handler;
pub mod create_folder_api_handler;
pub mod delete_asset_api_handler;
pub mod delete_folder_api_handler;
pub mod rename_asset_api_handler;
pub mod delete_asset_api_handler;
Expand Down
1 change: 0 additions & 1 deletion src/api/rest_api_routes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ pub fn rest_api_routes(state: Arc<AvoRedState>) -> Router {
.route("/api/asset", post(store_asset_api_handler))
.route("/api/rename-asset/:asset_id", post(rename_asset_api_handler))
.route("/api/create-folder", post(create_folder_api_handler))
.route("/api/delete-asset/:asset_id", delete(delete_asset_api_handler))
.route("/api/delete-folder/:asset_id", delete(delete_folder_api_handler))
.route("/api/delete-asset/:asset_id", delete(delete_asset_api_handler))
.route("/api/role-options", get(role_option_api_handler))
Expand Down

0 comments on commit 90353f4

Please sign in to comment.