Neater extractor imports.
This commit is contained in:
@@ -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>);
|
||||
|
||||
Reference in New Issue
Block a user