awa
This commit is contained in:
@@ -19,12 +19,12 @@ impl warp::reject::Reject for CertificateError {}
|
||||
#[derive(Clone)]
|
||||
pub(crate) struct AppState {
|
||||
config: Config,
|
||||
db: sqlx::PgPool,
|
||||
db: sqlx::MySqlPool,
|
||||
jwt_secret: String,
|
||||
}
|
||||
|
||||
impl AppState {
|
||||
pub fn new(config: Config, db: sqlx::PgPool, jwt_secret: String) -> Self {
|
||||
pub fn new(config: Config, db: sqlx::MySqlPool, jwt_secret: String) -> Self {
|
||||
Self {
|
||||
config,
|
||||
db,
|
||||
|
||||
Reference in New Issue
Block a user