Merge pull request #6259 from pixelfed/shleeable-patch-22

Larastan: Update AccountController.php
pull/6264/head
dansup 2 weeks ago committed by GitHub
commit fd83b90bdb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -164,6 +164,8 @@ class AccountController extends Controller
return abort(406);
}
$filterable = [];
$profile = null;
switch ($type) {
case 'user':
$profile = Profile::findOrFail($item);
@ -266,6 +268,8 @@ class AccountController extends Controller
return abort(406);
}
$filterable = [];
$profile = null;
switch ($type) {
case 'user':
$profile = Profile::findOrFail($item);

Loading…
Cancel
Save