fix: make community title change case-insensitive

This commit is contained in:
trisua 2025-04-12 11:05:28 -04:00
parent 5e3c0f5588
commit fc9c0f294e

View file

@ -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);
}