fix error #559

Merged
philipp merged 1 commits from fix-user-find-bug into staging 2024-05-28 15:04:36 +02:00
Showing only changes of commit 6d5ff5404b - Show all commits

View File

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