feat: filtrar profesionales por ciudad con query param ?city=

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lizandro Guarnizo
2026-06-27 19:26:33 -05:00
co-authored by Claude Sonnet 4.6
parent f94c2f96b0
commit 8a1f9687cd
2 changed files with 7 additions and 4 deletions
@@ -17,7 +17,8 @@ export class ProfessionalsController {
findAllActive(@Req() req) {
const page = +(req.query.page || 1);
const limit = +(req.query.limit || 20);
return this.pros.findAllActive(page, limit);
const city = req.query.city as string | undefined;
return this.pros.findAllActive(page, limit, city);
}
@Get('pending')