1
0
Fork 0

Update AccountController, refresh relationship after handling follow request

This commit is contained in:
Daniel Supernault 2022-03-06 03:45:19 -07:00
parent 539752067f
commit fe7687851c
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 1 additions and 0 deletions

View File

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