From b2501bfcc3e73fe5d787719dbfa2f6d16c17b033 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 28 Feb 2021 23:14:27 -0700 Subject: [PATCH] Update moderation api, invalidate profile embed --- app/Http/Controllers/InternalApiController.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Http/Controllers/InternalApiController.php b/app/Http/Controllers/InternalApiController.php index 6766d944..2df78dee 100644 --- a/app/Http/Controllers/InternalApiController.php +++ b/app/Http/Controllers/InternalApiController.php @@ -312,6 +312,10 @@ class InternalApiController extends Controller } break; } + + Cache::forget('_api:statuses:recent_9:' . $status->profile_id); + Cache::forget('profile:embed:' . $status->profile_id); + return ['msg' => 200]; }