From bdcb143996567c9540fb411bc53448355665747b Mon Sep 17 00:00:00 2001 From: Conrad Ludgate Date: Sun, 28 Jan 2024 13:33:45 +0000 Subject: chore(deps): update axum (#1637) --- atuin-server/src/handlers/history.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'atuin-server/src/handlers/history.rs') diff --git a/atuin-server/src/handlers/history.rs b/atuin-server/src/handlers/history.rs index cdee3988..05bbe740 100644 --- a/atuin-server/src/handlers/history.rs +++ b/atuin-server/src/handlers/history.rs @@ -2,10 +2,9 @@ use std::{collections::HashMap, convert::TryFrom}; use axum::{ extract::{Path, Query, State}, - http::HeaderMap, + http::{HeaderMap, StatusCode}, Json, }; -use http::StatusCode; use metrics::counter; use time::{Month, UtcOffset}; use tracing::{debug, error, instrument}; @@ -215,7 +214,7 @@ pub async fn calendar( error: ErrorResponse { reason: e.to_string().into(), }, - status: http::StatusCode::BAD_REQUEST, + status: StatusCode::BAD_REQUEST, })?; let period = match focus { -- cgit v1.3.1