aboutsummaryrefslogtreecommitdiff
path: root/server/src/ui/stats.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-05-13 14:57:19 +0200
committermetamuffin <metamuffin@disroot.org>2025-05-13 14:57:19 +0200
commit09f86ee5b25fbddf667ef98a22eaa076cedba23c (patch)
tree2abca01286840cb918acbbdc3735f414fd26595e /server/src/ui/stats.rs
parent55434f87ff252c784e5e00b4775b9555da31ebb0 (diff)
downloadjellything-09f86ee5b25fbddf667ef98a22eaa076cedba23c.tar
jellything-09f86ee5b25fbddf667ef98a22eaa076cedba23c.tar.bz2
jellything-09f86ee5b25fbddf667ef98a22eaa076cedba23c.tar.zst
move AcceptJson and AcceptLanguage guard in preperation to remove them
Diffstat (limited to 'server/src/ui/stats.rs')
-rw-r--r--server/src/ui/stats.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/ui/stats.rs b/server/src/ui/stats.rs
index d991fa0..b6e9321 100644
--- a/server/src/ui/stats.rs
+++ b/server/src/ui/stats.rs
@@ -4,7 +4,7 @@
Copyright (C) 2025 metamuffin <metamuffin.org>
*/
use super::error::MyError;
-use crate::{api::AcceptJson, helper::A, locale::AcceptLanguage};
+use crate::helper::{accept::AcceptJson, language::AcceptLanguage, A};
use jellycommon::api::ApiStatsResponse;
use jellyimport::is_importing;
use jellylogic::{session::Session, stats::stats, Database};