diff --git a/src/Api/Controllers/ListUserBannedIPsController.php b/src/Api/Controllers/ListUserBannedIPsController.php index f0a3048..d111bb6 100644 --- a/src/Api/Controllers/ListUserBannedIPsController.php +++ b/src/Api/Controllers/ListUserBannedIPsController.php @@ -55,7 +55,7 @@ protected function data(ServerRequestInterface $request, Document $document) * @var User */ $actor = $request->getAttribute('actor'); - + $actor->assertCan('fof.banips.viewBannedIPList'); $id = Arr::get($request->getQueryParams(), 'id');