Update room, user pages and service

This commit is contained in:
2023-11-22 09:13:36 +07:00
parent 1f108002bf
commit be0741c7f7
11 changed files with 179 additions and 446 deletions
@@ -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);