Remove case sensitivity on search.

This commit is contained in:
Brian Cao 2023-08-13 16:42:11 -07:00
parent 5e64eac396
commit 6d43cb23dd
4 changed files with 11 additions and 3 deletions

View file

@ -57,6 +57,7 @@ export async function getUsers(
filterType === USER_FILTER_TYPES.username) && {
username: {
startsWith: filter,
mode: 'insensitive',
},
}),
},