mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-31 00:40:47 +00:00
Staging (#5594)
* add kickstarter and monthly users badge (#5589) Co-authored-by: daniel <danielsupernault@gmail.com> * DM --------- Co-authored-by: Simon Laux <Simon-Laux@users.noreply.github.com>
This commit is contained in:
parent
e1f694b21a
commit
fa4474bc38
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