fix: change config.town_square to usize instead of String
This commit is contained in:
parent
a06dc88f84
commit
fd33c0c7d8
4 changed files with 6 additions and 6 deletions
|
@ -204,7 +204,7 @@ pub struct Config {
|
|||
///
|
||||
/// This community **must** have open write access.
|
||||
#[serde(default)]
|
||||
pub town_square: String,
|
||||
pub town_square: usize,
|
||||
}
|
||||
|
||||
fn default_name() -> String {
|
||||
|
@ -284,7 +284,7 @@ impl Default for Config {
|
|||
banned_usernames: default_banned_usernames(),
|
||||
policies: default_policies(),
|
||||
turnstile: default_turnstile(),
|
||||
town_square: String::new(),
|
||||
town_square: 0,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue