fix: resolve E2E and unit test failures across tenant isolation and location endpoints
This commit is contained in:
@@ -24,7 +24,7 @@ class ScannerController extends ApiController
|
||||
$user = $request->user();
|
||||
|
||||
$team = CollectionTeam::query()
|
||||
->with(['driver', 'truck', 'helpers.user'])
|
||||
->with(['driver', 'scanner', 'truck', 'helpers.user'])
|
||||
->where('scanner_id', $user->id)
|
||||
->where('status', CollectionTeam::STATUS_ACTIVE)
|
||||
->first();
|
||||
|
||||
Reference in New Issue
Block a user