Moved most config structs to be in the same file as what they are for
This commit is contained in:
10
src/auth.rs
10
src/auth.rs
@@ -5,10 +5,12 @@ use axum::{
|
||||
};
|
||||
use serde::Deserialize;
|
||||
|
||||
use crate::{
|
||||
config::OpenIDConfig,
|
||||
error::{ApiError, ApiErrorJson},
|
||||
};
|
||||
use crate::error::{ApiError, ApiErrorJson};
|
||||
|
||||
#[derive(Debug, Clone, Deserialize)]
|
||||
pub struct OpenIDConfig {
|
||||
pub base_url: String,
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
pub struct User {
|
||||
|
||||
Reference in New Issue
Block a user