forked from mirror/pixelfed
Update AccountController, refresh relationship after handling follow request
This commit is contained in:
parent
539752067f
commit
fe7687851c
|
@ -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 New Issue