Update moderator api, expire cached status

This commit is contained in:
Daniel Supernault 2021-07-05 23:00:59 -06:00
parent 78529cb1f8
commit f215ee26b3
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -333,6 +333,7 @@ class InternalApiController extends Controller
Cache::forget('_api:statuses:recent_9:' . $status->profile_id);
Cache::forget('profile:embed:' . $status->profile_id);
StatusService::del($status->id);
return ['msg' => 200];
}