mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
CS fixes
This commit is contained in:
@@ -181,16 +181,16 @@ class ApiV2Controller extends BasePageController
|
||||
$user = User::query()->where('api_token', $request->input('api_token'))->first();
|
||||
$catExclusions = User::getCategoryExclusionForApi($request);
|
||||
$minSize = $request->has('minsize') && $request->input('minsize') > 0 ? $request->input('minsize') : 0;
|
||||
$this->api->verifyEmptyParameter($request,'id');
|
||||
$this->api->verifyEmptyParameter($request,'vid');
|
||||
$this->api->verifyEmptyParameter($request,'tvdbid');
|
||||
$this->api->verifyEmptyParameter($request,'traktid');
|
||||
$this->api->verifyEmptyParameter($request,'rid');
|
||||
$this->api->verifyEmptyParameter($request,'tvmazeid');
|
||||
$this->api->verifyEmptyParameter($request,'imdbid');
|
||||
$this->api->verifyEmptyParameter($request,'tmdbid');
|
||||
$this->api->verifyEmptyParameter($request,'season');
|
||||
$this->api->verifyEmptyParameter($request,'ep');
|
||||
$this->api->verifyEmptyParameter($request, 'id');
|
||||
$this->api->verifyEmptyParameter($request, 'vid');
|
||||
$this->api->verifyEmptyParameter($request, 'tvdbid');
|
||||
$this->api->verifyEmptyParameter($request, 'traktid');
|
||||
$this->api->verifyEmptyParameter($request, 'rid');
|
||||
$this->api->verifyEmptyParameter($request, 'tvmazeid');
|
||||
$this->api->verifyEmptyParameter($request, 'imdbid');
|
||||
$this->api->verifyEmptyParameter($request, 'tmdbid');
|
||||
$this->api->verifyEmptyParameter($request, 'season');
|
||||
$this->api->verifyEmptyParameter($request, 'ep');
|
||||
$maxAge = $this->api->maxAge($request);
|
||||
UserRequest::addApiRequest($request->input('api_token'), $request->getRequestUri());
|
||||
event(new UserAccessedApi($user));
|
||||
|
||||
Reference in New Issue
Block a user