Neater extractor imports.

This commit is contained in:
2026-10-11 08:16:10 +02:00
parent ea165554d8
commit 02f29f3a99
10 changed files with 21 additions and 17 deletions
+2 -1
View File
@@ -8,7 +8,8 @@ pub use bearer::*;
pub use header::*;
pub use principal::*;
use crate::{repository::RepositoryError, routes::extractors::ExtractorError};
use super::ExtractorError;
use crate::repository::RepositoryError;
#[derive(Debug)]
pub struct Auth<T = Bearer>(pub Principal<T>);