feat(user-profile): add avatar upload functionality and update UserProfile entity
This commit is contained in:
@@ -149,7 +149,9 @@ class MyAppointmentsController extends BaseController
|
||||
->setParameter('doctor', $filterValue);
|
||||
}
|
||||
} else {
|
||||
return $this->paginated([], 0, $page, $limit);
|
||||
// Plain patient: only their own appointments.
|
||||
$qb->andWhere('a.user = :patient')
|
||||
->setParameter('patient', $user);
|
||||
}
|
||||
|
||||
if ($search !== '') {
|
||||
|
||||
Reference in New Issue
Block a user