Compare commits

..

No commits in common. "e004d81ca14a92eb8739c1321923b446e6dc32bc" and "41b5aff329bc66e74ca9f79e37ceefbba5b77076" have entirely different histories.

View File

@ -486,8 +486,6 @@ WHERE id like ?
} }
pub async fn find_by_name(db: &SqlitePool, name: &str) -> Option<Self> { pub async fn find_by_name(db: &SqlitePool, name: &str) -> Option<Self> {
let name = name.trim().to_lowercase();
sqlx::query_as!( sqlx::query_as!(
Self, Self,
" "