Update moderation api, invalidate profile embed

This commit is contained in:
Daniel Supernault 2021-02-28 23:14:27 -07:00
parent 9c8a87c331
commit b2501bfcc3
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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];
}