mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-12-18 22:16:40 +00:00
Fix clippy errors
This commit is contained in:
parent
6f0a9eb718
commit
674358415b
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ impl DatabaseSettings {
|
||||||
PgConnectOptions::new()
|
PgConnectOptions::new()
|
||||||
.host(&self.host)
|
.host(&self.host)
|
||||||
.username(&self.username)
|
.username(&self.username)
|
||||||
.password(&self.password.expose_secret())
|
.password(self.password.expose_secret())
|
||||||
.port(self.port)
|
.port(self.port)
|
||||||
.ssl_mode(ssl_mode)
|
.ssl_mode(ssl_mode)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue