mirror of
https://github.com/flibusta-apps/meilie_updater.git
synced 2025-12-06 15:15:37 +01:00
Add pre-commit config
This commit is contained in:
@@ -10,7 +10,7 @@ pub struct Config {
|
||||
pub postgres_password: String,
|
||||
|
||||
pub meili_host: String,
|
||||
pub meili_master_key: String
|
||||
pub meili_master_key: String,
|
||||
}
|
||||
|
||||
fn get_env(env: &'static str) -> String {
|
||||
@@ -31,7 +31,7 @@ impl Config {
|
||||
postgres_password: get_env("POSTGRES_PASSWORD"),
|
||||
|
||||
meili_host: get_env("MEILI_HOST"),
|
||||
meili_master_key: get_env("MEILI_MASTER_KEY")
|
||||
meili_master_key: get_env("MEILI_MASTER_KEY"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user