mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-01 18:58:56 +00:00
Replace ! $request->has with new $request->missing
This commit is contained in:
@@ -289,7 +289,7 @@ class ApiV2Controller extends BasePageController
|
||||
*/
|
||||
public function details(Request $request): \Illuminate\Http\JsonResponse
|
||||
{
|
||||
if (! $request->has('id')) {
|
||||
if ($request->missing('id')) {
|
||||
Utility::showApiError(200, 'Missing parameter (guid is required for single release details)');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user