mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +00:00
Update ApiV1Controller, add missing variable
This commit is contained in:
parent
42faa9ff7e
commit
886ea6175d
1 changed files with 1 additions and 0 deletions
|
@ -1762,6 +1762,7 @@ class ApiV1Controller extends Controller
|
|||
$ids = $request->input('media_ids');
|
||||
$in_reply_to_id = $request->input('in_reply_to_id');
|
||||
$user = $request->user();
|
||||
$profile = $user->profile;
|
||||
|
||||
$limitKey = 'compose:rate-limit:store:' . $user->id;
|
||||
$limitTtl = now()->addMinutes(15);
|
||||
|
|
Loading…
Reference in a new issue