Skip to content

Commit

Permalink
fix: change config typing
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosvdr committed Oct 2, 2024
1 parent 5e711a5 commit 15d8c2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ pub struct IndexerConfig {
pub struct DatabaseConfig {
pub postgres_url: Url,
pub postgres_host: String,
pub postgres_port: String,
pub postgres_port: i32,
pub postgres_user: String,
pub postgres_password: String,
pub postgress_db: String,
Expand Down
2 changes: 1 addition & 1 deletion service/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ impl From<MainConfig> for Config {
Some(value.database.postgres_url.into()),
Some(value.database.postgres_host),
Some(value.database.postgres_password),
Some(value.database.postgres_port),
Some(value.database.postgres_port.to_string()),
Some(value.database.postgres_user),
Some(value.database.postgress_db),
),
Expand Down

0 comments on commit 15d8c2e

Please sign in to comment.