mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-31 08:50:46 +00:00
DM
This commit is contained in:
parent
7256a9baeb
commit
8fad89543f
2 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||||
|
|
|
@ -30,6 +30,7 @@ class DirectMessageController extends Controller
|
||||||
{
|
{
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
|
abort(404);
|
||||||
$this->middleware('auth');
|
$this->middleware('auth');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue