Skip to content

Commit 15d8c2e

Browse files
committed
fix: change config typing
1 parent 5e711a5 commit 15d8c2e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ pub struct IndexerConfig {
150150
pub struct DatabaseConfig {
151151
pub postgres_url: Url,
152152
pub postgres_host: String,
153-
pub postgres_port: String,
153+
pub postgres_port: i32,
154154
pub postgres_user: String,
155155
pub postgres_password: String,
156156
pub postgress_db: String,

service/src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ impl From<MainConfig> for Config {
3333
Some(value.database.postgres_url.into()),
3434
Some(value.database.postgres_host),
3535
Some(value.database.postgres_password),
36-
Some(value.database.postgres_port),
36+
Some(value.database.postgres_port.to_string()),
3737
Some(value.database.postgres_user),
3838
Some(value.database.postgress_db),
3939
),

0 commit comments

Comments
 (0)