Skip to content

Commit b4e22f4

Browse files
committed
Small fix for seat listing
Signed-off-by: snipe <[email protected]>
1 parent 58b6feb commit b4e22f4

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.assigned_to');
3838
}
3939

4040

0 commit comments

Comments
 (0)