Update AccountController, refresh relationship after handling follow request

pull/3295/head
Daniel Supernault 2022-03-06 03:45:19 -07:00
rodzic 539752067f
commit fe7687851c
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

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