aboutsummaryrefslogtreecommitdiff
path: root/server/src/ui/admin/mod.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/admin/mod.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/admin/mod.rs')
-rw-r--r--server/src/ui/admin/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/ui/admin/mod.rs b/server/src/ui/admin/mod.rs
index a03d09b..942f4f8 100644
--- a/server/src/ui/admin/mod.rs
+++ b/server/src/ui/admin/mod.rs
@@ -10,7 +10,7 @@ use super::{
assets::{resolve_asset, AVIF_QUALITY, AVIF_SPEED},
error::MyResult,
};
-use crate::{helper::A, locale::AcceptLanguage};
+use crate::helper::{language::AcceptLanguage, A};
use anyhow::{anyhow, Context};
use jellycommon::routes::u_admin_dashboard;
use jellyimport::{asset_token::AssetInner, import_wrap, is_importing};