Skip to content

Commit

Permalink
fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
imor committed Sep 2, 2024
1 parent 96457e3 commit b52f809
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/src/db/sources.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ impl SourceConfig {
} => {
let ssl_mode = PgSslMode::Prefer;
let options = PgConnectOptions::new_without_pgpass()
.host(&host)
.host(host)
.port(*port)
.database(name)
.username(&username)
.username(username)
.ssl_mode(ssl_mode);
if let Some(password) = &password {
options.password(password)
Expand Down

0 comments on commit b52f809

Please sign in to comment.