mirror of https://github.com/buster-so/buster.git
bin warning cleanups
This commit is contained in:
parent
2d60f976c7
commit
f0f3bedfb5
|
@ -1,7 +1,6 @@
|
||||||
use axum::{extract::State, http::StatusCode, Extension, Json};
|
use axum::{http::StatusCode, Extension, Json};
|
||||||
use handlers::collections::{create_collection_handler, CollectionState, CreateCollectionRequest};
|
use handlers::collections::{create_collection_handler, CollectionState, CreateCollectionRequest};
|
||||||
use middleware::AuthenticatedUser;
|
use middleware::AuthenticatedUser;
|
||||||
use uuid::Uuid;
|
|
||||||
|
|
||||||
/// Create a new collection
|
/// Create a new collection
|
||||||
///
|
///
|
||||||
|
|
|
@ -5,7 +5,7 @@ use axum::{
|
||||||
};
|
};
|
||||||
use handlers::collections::sharing::list_collection_sharing_handler;
|
use handlers::collections::sharing::list_collection_sharing_handler;
|
||||||
use middleware::AuthenticatedUser;
|
use middleware::AuthenticatedUser;
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::Serialize;
|
||||||
use uuid::Uuid;
|
use uuid::Uuid;
|
||||||
|
|
||||||
use crate::routes::rest::ApiResponse;
|
use crate::routes::rest::ApiResponse;
|
||||||
|
|
|
@ -10,7 +10,6 @@ use handlers::dashboards::{
|
||||||
use middleware::AuthenticatedUser;
|
use middleware::AuthenticatedUser;
|
||||||
use axum::http::StatusCode;
|
use axum::http::StatusCode;
|
||||||
|
|
||||||
use crate::routes::rest::ApiResponse;
|
|
||||||
|
|
||||||
pub async fn delete_dashboards_rest_handler(
|
pub async fn delete_dashboards_rest_handler(
|
||||||
Extension(user): Extension<AuthenticatedUser>,
|
Extension(user): Extension<AuthenticatedUser>,
|
||||||
|
|
|
@ -3,7 +3,7 @@ use axum::{extract::Query, Extension};
|
||||||
use middleware::AuthenticatedUser;
|
use middleware::AuthenticatedUser;
|
||||||
use serde::Deserialize;
|
use serde::Deserialize;
|
||||||
|
|
||||||
use handlers::data_sources::{list_data_sources_handler, DataSourceListItem, ListDataSourcesRequest};
|
use handlers::data_sources::{list_data_sources_handler, DataSourceListItem};
|
||||||
|
|
||||||
use crate::routes::rest::ApiResponse;
|
use crate::routes::rest::ApiResponse;
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ use axum::{
|
||||||
};
|
};
|
||||||
use handlers::messages::update_message_handler;
|
use handlers::messages::update_message_handler;
|
||||||
use middleware::AuthenticatedUser;
|
use middleware::AuthenticatedUser;
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::Deserialize;
|
||||||
use uuid::Uuid;
|
use uuid::Uuid;
|
||||||
|
|
||||||
use crate::routes::rest::ApiResponse;
|
use crate::routes::rest::ApiResponse;
|
||||||
|
|
|
@ -5,7 +5,6 @@ use axum::{
|
||||||
};
|
};
|
||||||
use handlers::metrics::sharing::delete_metric_sharing_handler;
|
use handlers::metrics::sharing::delete_metric_sharing_handler;
|
||||||
use middleware::AuthenticatedUser;
|
use middleware::AuthenticatedUser;
|
||||||
use serde::{Deserialize, Serialize};
|
|
||||||
use uuid::Uuid;
|
use uuid::Uuid;
|
||||||
|
|
||||||
use crate::routes::rest::ApiResponse;
|
use crate::routes::rest::ApiResponse;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
use axum::{extract::Path, http::StatusCode, Extension};
|
use axum::{extract::Path, http::StatusCode, Extension};
|
||||||
use handlers::metrics::sharing::list_metric_sharing_handler;
|
use handlers::metrics::sharing::list_metric_sharing_handler;
|
||||||
use middleware::AuthenticatedUser;
|
use middleware::AuthenticatedUser;
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::Serialize;
|
||||||
use uuid::Uuid;
|
use uuid::Uuid;
|
||||||
|
|
||||||
use crate::routes::rest::ApiResponse;
|
use crate::routes::rest::ApiResponse;
|
||||||
|
|
Loading…
Reference in New Issue