Skip to content

Commit 2e8ae33

Browse files
committed
Merge remote-tracking branch 'origin/develop'
2 parents 0d32506 + 97c1e65 commit 2e8ae33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Controllers/Api/LicenseSeatsController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function index(Request $request, $licenseId) : JsonResponse | array
3434
}
3535

3636
if ($request->input('status') == 'assigned') {
37-
$seats->whereNotNull('license_seats.assigned_to');
37+
$seats->whereNotNull('license_seats.assigned_to')->whereNotNull('license_seats.asset_id');
3838
}
3939

4040

0 commit comments

Comments
 (0)