cleanup imports

This commit is contained in:
Niccolo Borgioli 2024-08-27 10:55:51 +02:00
parent e15d9eb537
commit 7aae690850
2 changed files with 7 additions and 6 deletions

View File

@ -1,7 +1,9 @@
use axum::extract::Path; use axum::{
use axum::http::StatusCode; extract::Path,
use axum::response::{IntoResponse, Response}; http::StatusCode,
use axum::Json; response::{IntoResponse, Response},
Json,
};
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
use std::time::SystemTime; use std::time::SystemTime;

View File

@ -1,6 +1,5 @@
use crate::config; use crate::config;
use axum::http::StatusCode; use axum::{http::StatusCode, Json};
use axum::Json;
use serde::Serialize; use serde::Serialize;
#[derive(Serialize)] #[derive(Serialize)]