Update AccountController, refresh relationship after handling follow request

pull/3295/head
Daniel Supernault 3 years ago
parent 539752067f
commit fe7687851c
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -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…
Cancel
Save