fix: make community title change case-insensitive
This commit is contained in:
parent
5e3c0f5588
commit
fc9c0f294e
1 changed files with 1 additions and 0 deletions
|
@ -371,6 +371,7 @@ impl DataManager {
|
|||
}
|
||||
|
||||
// check for existing community
|
||||
let title = &title.to_lowercase();
|
||||
if self.get_community_by_title_no_void(title).await.is_ok() {
|
||||
return Err(Error::TitleInUse);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue