mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Update ProfileController
This commit is contained in:
parent
610c4f3445
commit
b6553f82c6
1 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ class ProfileController extends Controller
|
|||
$settings = $user->user->settings;
|
||||
}
|
||||
|
||||
if ($request->wantsJson() && config('pixelfed.activitypub_enabled')) {
|
||||
if ($request->wantsJson() && config('federation.activitypub.enabled')) {
|
||||
return $this->showActivityPub($request, $user);
|
||||
}
|
||||
|
||||
|
@ -90,7 +90,7 @@ class ProfileController extends Controller
|
|||
$user = Profile::whereUsername($username)->firstOrFail();
|
||||
$settings = User::whereUsername($username)->firstOrFail()->settings;
|
||||
|
||||
if ($request->wantsJson() && config('pixelfed.activitypub_enabled')) {
|
||||
if ($request->wantsJson() && config('federation.activitypub.enabled')) {
|
||||
return $this->showActivityPub($request, $user);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue