From 5715e75593bbf831da1c5eba6b81ace0960f64ac Mon Sep 17 00:00:00 2001 From: maulanasdqn Date: Thu, 2 Apr 2026 15:47:23 +0700 Subject: [PATCH] fix: remove unused imports in imphnen-hackathon Co-Authored-By: Claude Sonnet 4.6 --- imphnen-hackathon/src/admin/routes.rs | 2 +- imphnen-hackathon/src/certificates/routes.rs | 1 - imphnen-hackathon/src/chat/infrastructure/http/routes.rs | 2 +- imphnen-hackathon/src/storage/routes.rs | 1 - imphnen-hackathon/src/users/infrastructure/http/routes.rs | 2 +- 5 files changed, 3 insertions(+), 5 deletions(-) diff --git a/imphnen-hackathon/src/admin/routes.rs b/imphnen-hackathon/src/admin/routes.rs index 1d671ae..7b22292 100644 --- a/imphnen-hackathon/src/admin/routes.rs +++ b/imphnen-hackathon/src/admin/routes.rs @@ -2,7 +2,7 @@ use axum::{ extract::{Path, Query}, middleware::from_fn, response::IntoResponse, - routing::{delete, get, post, put}, + routing::{delete, get, post}, Extension, Json, Router, }; use sqlx::{PgPool, FromRow}; diff --git a/imphnen-hackathon/src/certificates/routes.rs b/imphnen-hackathon/src/certificates/routes.rs index 7375a64..a1787c5 100644 --- a/imphnen-hackathon/src/certificates/routes.rs +++ b/imphnen-hackathon/src/certificates/routes.rs @@ -2,7 +2,6 @@ use axum::{extract::Path, response::IntoResponse, routing::get, Extension, Route use sqlx::{PgPool, FromRow}; use std::sync::Arc; use uuid::Uuid; -use chrono::{DateTime, Utc}; use serde::Serialize; use utoipa::ToSchema; use imphnen_utils::{errors::AppError, response_format::ApiSuccess}; diff --git a/imphnen-hackathon/src/chat/infrastructure/http/routes.rs b/imphnen-hackathon/src/chat/infrastructure/http/routes.rs index 10897f0..6d73963 100644 --- a/imphnen-hackathon/src/chat/infrastructure/http/routes.rs +++ b/imphnen-hackathon/src/chat/infrastructure/http/routes.rs @@ -1,4 +1,4 @@ -use axum::{middleware::from_fn, routing::{delete, get, post}, Extension, Router}; +use axum::{middleware::from_fn, routing::{delete, get}, Extension, Router}; use sqlx::PgPool; use std::sync::Arc; use crate::chat::application::chat_service::ChatServiceImpl; diff --git a/imphnen-hackathon/src/storage/routes.rs b/imphnen-hackathon/src/storage/routes.rs index d12c694..b906614 100644 --- a/imphnen-hackathon/src/storage/routes.rs +++ b/imphnen-hackathon/src/storage/routes.rs @@ -3,7 +3,6 @@ use sqlx::PgPool; use std::sync::Arc; use serde::{Deserialize, Serialize}; use utoipa::ToSchema; -use uuid::Uuid; use imphnen_utils::{errors::AppError, response_format::ApiSuccess}; use crate::common::hackathon_jwt::HackathonJwtService; use crate::common::supabase_client::SupabaseClient; diff --git a/imphnen-hackathon/src/users/infrastructure/http/routes.rs b/imphnen-hackathon/src/users/infrastructure/http/routes.rs index f63a552..6c2beee 100644 --- a/imphnen-hackathon/src/users/infrastructure/http/routes.rs +++ b/imphnen-hackathon/src/users/infrastructure/http/routes.rs @@ -1,4 +1,4 @@ -use axum::{middleware::from_fn, routing::{get, put}, Extension, Router}; +use axum::{middleware::from_fn, routing::get, Extension, Router}; use sqlx::PgPool; use std::sync::Arc; use crate::users::application::user_service::HackathonUserServiceImpl;