Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelCoding committed Apr 30, 2024
1 parent 97021a7 commit 7907e82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cfg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub(crate) struct Cfg {
pub(crate) client_id: ClientId,
#[serde(alias = "secret")]
pub(crate) client_secret: Option<ClientSecret>,
pub(crate) client_secret_path: Option<PathBuf>,
pub(crate) client_secret_file: Option<PathBuf>,
#[serde(default = "default_listen_addr")]
pub(crate) listen_addr: SocketAddr,
#[serde(default)]
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ async fn main() -> anyhow::Result<()> {
.clone()
.or(
config
.client_secret_path
.client_secret_file
.clone()
.map(|path| ClientSecret::new(std::fs::read_to_string(path).unwrap())),
)
Expand Down

0 comments on commit 7907e82

Please sign in to comment.