seed users

This commit is contained in:
2025-12-04 00:00:52 +03:30
parent 87e935acfd
commit 1ba66c7946
6 changed files with 158 additions and 31 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ export class UserService {
const offset = (page - 1) * limit;
// 2. Build the 'where' filter query
const where: FilterQuery<User> = { restaurant: { id: restId } };
const where: FilterQuery<User> = {};
// 4. Add 'search' logic (case-insensitive)
if (search) {