feat: update primaryRole handling in authStore and adjust context role for clinics
This commit is contained in:
@@ -628,7 +628,7 @@ class AuthController extends BaseController
|
||||
'type' => 'clinic',
|
||||
'db_uuid' => $clinic->getUuid(),
|
||||
'name' => $clinic->getName() ?? '',
|
||||
'role' => 'doctor',
|
||||
'role' => 'clinic',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user