mirror of
https://github.com/Nezumi-2711/react-training.git
synced 2026-09-22 20:01:59 +00:00
Update room, user pages and service
This commit is contained in:
@@ -24,7 +24,7 @@ const getAllRooms = async (
|
||||
.from(ROOMS_TABLE)
|
||||
.select('*')
|
||||
.order(sortBy, { ascending: orderBy === 'asc' })
|
||||
.like('name', `%${roomName}%`);
|
||||
.ilike('name', `%${roomName}%`);
|
||||
|
||||
if (error) {
|
||||
console.error(error.message);
|
||||
|
||||
Reference in New Issue
Block a user