Skip to content

Commit 97c1e65

Browse files
committed
Fixed fieldname
Signed-off-by: snipe <[email protected]>
1 parent b4e22f4 commit 97c1e65

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')->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)