mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2025-02-17 08:59:46 +03:00
rm url field from DatabaseBuilder
This commit is contained in:
parent
fe1fc3fb20
commit
f15df541c1
1 changed files with 0 additions and 2 deletions
|
@ -71,7 +71,6 @@ struct DatabaseBuilder {
|
|||
pub username: String,
|
||||
pub password: String,
|
||||
pub name: String,
|
||||
pub url: String,
|
||||
}
|
||||
|
||||
impl DatabaseBuilder {
|
||||
|
@ -85,7 +84,6 @@ impl DatabaseBuilder {
|
|||
port: url.port().expect("Enter database port").into(),
|
||||
hostname: url.host().expect("Enter database host").to_string(),
|
||||
username: url.username().into(),
|
||||
url: url.to_string(),
|
||||
password: url.password().expect("Enter database password").into(),
|
||||
name,
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue