forked from mirror/pixelfed
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');
|
$ids = $request->input('media_ids');
|
||||||
$in_reply_to_id = $request->input('in_reply_to_id');
|
$in_reply_to_id = $request->input('in_reply_to_id');
|
||||||
$user = $request->user();
|
$user = $request->user();
|
||||||
|
$profile = $user->profile;
|
||||||
|
|
||||||
$limitKey = 'compose:rate-limit:store:' . $user->id;
|
$limitKey = 'compose:rate-limit:store:' . $user->id;
|
||||||
$limitTtl = now()->addMinutes(15);
|
$limitTtl = now()->addMinutes(15);
|
||||||
|
|
Loading…
Reference in a new issue