Skip to content

Commit

Permalink
opt imports
Browse files Browse the repository at this point in the history
  • Loading branch information
n1nj4t4nuk1 committed Dec 5, 2024
1 parent 22624df commit e98a613
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion apps/cti/src/v1/cves/cve_post_controller.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use actix_web::{web, HttpRequest, HttpResponse};
use cqrs::domain::command_bus::CommandBus;
use cti::{cves::{application::{create_one::create_cve_command::CreateCveCommand, cve_command_response::CveCommandResponse}, domain::repositories::cve_repository::CveRepository, infrastructure::dtos::cve_json_dto::{parse_to_domain, CveJsonDto}}, shared::domain::errors::DomainError};
use cti::{cves::{application::{create_one::create_cve_command::CreateCveCommand, cve_command_response::CveCommandResponse}, domain::repositories::cve_repository::CveRepository, infrastructure::dtos::cve_json_dto::CveJsonDto}, shared::domain::errors::DomainError};
use events::domain::event_bus::EventBus;

pub async fn controller<R: CveRepository, E: EventBus>(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use std::sync::Arc;

use async_trait::async_trait;
use cqrs::domain::{command::Command, command_bus_response::CommandBusResponse, command_handler::CommandHandler};
Expand Down

0 comments on commit e98a613

Please sign in to comment.