Make profile search case-insensitive

This commit is contained in:
silverpill 2022-01-02 12:50:17 +00:00
parent 9156dec5bb
commit e2b5147502

View file

@ -336,7 +336,7 @@ pub async fn search_profile(
"
SELECT actor_profile
FROM actor_profile
WHERE acct LIKE $1
WHERE acct ILIKE $1
",
&[&db_search_query],
).await?;