mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update AccountController, refresh relationship after handling follow request
This commit is contained in:
parent
539752067f
commit
fe7687851c
1 changed files with 1 additions and 0 deletions
|
@ -406,6 +406,7 @@ class AccountController extends Controller
|
|||
|
||||
Cache::forget('profile:follower_count:'.$pid);
|
||||
Cache::forget('profile:following_count:'.$pid);
|
||||
RelationshipService::refresh($pid, $follower->id);
|
||||
|
||||
return response()->json(['msg' => 'success'], 200);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue