mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-25 01:05:36 +00:00
Update moderation api, invalidate profile embed
This commit is contained in:
parent
9c8a87c331
commit
b2501bfcc3
1 changed files with 4 additions and 0 deletions
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue