From 886ea6175de98f4d9756f3299e66e71c3d46e7c3 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 19 Mar 2021 21:22:37 -0600 Subject: [PATCH 1/2] Update ApiV1Controller, add missing variable --- app/Http/Controllers/Api/ApiV1Controller.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Controllers/Api/ApiV1Controller.php b/app/Http/Controllers/Api/ApiV1Controller.php index 7cda7beed..82157fd08 100644 --- a/app/Http/Controllers/Api/ApiV1Controller.php +++ b/app/Http/Controllers/Api/ApiV1Controller.php @@ -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); From 22827bbc46b1ffa783df66a2381e65c88efbf663 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 19 Mar 2021 21:23:32 -0600 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b943d3a71..612a867d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -59,6 +59,7 @@ - Updated PhotoPresenter, add width and height to images. ([3f8202e2](https://github.com/pixelfed/pixelfed/commit/3f8202e2)) - Updated Compose Apis, refactor rate limits. ([42375b3d](https://github.com/pixelfed/pixelfed/commit/42375b3d)) - Updated PublicApiController, show unlisted comments. ([e1c6297e](https://github.com/pixelfed/pixelfed/commit/e1c6297e)) +- Updated ApiV1Controller, add missing variable. ([886ea617](https://github.com/pixelfed/pixelfed/commit/886ea617)) - ([](https://github.com/pixelfed/pixelfed/commit/)) ## [v0.10.10 (2021-01-28)](https://github.com/pixelfed/pixelfed/compare/v0.10.9...v0.10.10)