This commit is contained in:
Daniel Supernault 2025-01-25 08:45:09 -07:00
parent 7256a9baeb
commit 8fad89543f
No known key found for this signature in database
GPG key ID: 23740873EE6F76A1
2 changed files with 3 additions and 0 deletions

View file

@ -3006,6 +3006,8 @@ class ApiV1Controller extends Controller
'scope' => 'nullable|in:inbox,sent,requests', 'scope' => 'nullable|in:inbox,sent,requests',
]); ]);
return [];
$limit = $request->input('limit', 20); $limit = $request->input('limit', 20);
$scope = $request->input('scope', 'inbox'); $scope = $request->input('scope', 'inbox');
$user = $request->user(); $user = $request->user();

View file

@ -30,6 +30,7 @@ class DirectMessageController extends Controller
{ {
public function __construct() public function __construct()
{ {
abort(404);
$this->middleware('auth'); $this->middleware('auth');
} }