mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-24 16:53:17 +00:00
Update FollowerController
This commit is contained in:
parent
1aa8354f5a
commit
1073892c66
1 changed files with 5 additions and 0 deletions
|
@ -26,6 +26,11 @@ class FollowerController extends Controller
|
|||
]);
|
||||
$item = $request->input('item');
|
||||
$this->handleFollowRequest($item);
|
||||
if($request->wantsJson()) {
|
||||
return response()->json([
|
||||
200
|
||||
], 200);
|
||||
}
|
||||
return redirect()->back();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue