diff --git a/trifid-api/src/org.rs b/trifid-api/src/org.rs index dc7d723..501b14a 100644 --- a/trifid-api/src/org.rs +++ b/trifid-api/src/org.rs @@ -15,7 +15,7 @@ // along with this program. If not, see . use std::error::Error; -use log::info; + use rocket::form::validate::Contains; use sqlx::PgPool; use trifid_pki::ca::NebulaCAPool; diff --git a/trifid-api/src/routes/v1/ca.rs b/trifid-api/src/routes/v1/ca.rs index 02e3c1c..fe7b442 100644 --- a/trifid-api/src/routes/v1/ca.rs +++ b/trifid-api/src/routes/v1/ca.rs @@ -14,12 +14,12 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -use ipnet::Ipv4Net; -use rocket::{post, options, get, State}; + +use rocket::{options, get, State}; use rocket::http::{ContentType, Status}; use rocket::serde::json::Json; use sqlx::PgPool; -use crate::config::TFConfig; + use serde::{Serialize, Deserialize}; use crate::auth::TOTPAuthenticatedUserInfo; use crate::org::{get_associated_orgs, get_org_ca_pool};