update user entity
This commit is contained in:
@@ -106,7 +106,13 @@ export class UserService {
|
||||
const offset = (page - 1) * limit;
|
||||
|
||||
// 2. Build the 'where' filter query
|
||||
const where: FilterQuery<User> = {};
|
||||
const where: FilterQuery<User> = {
|
||||
orders: {
|
||||
restaurant: {
|
||||
id: restId,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
// 4. Add 'search' logic (case-insensitive)
|
||||
if (search) {
|
||||
|
||||
Reference in New Issue
Block a user