fix: remove fediverse prefix to prevent migration error + load routes during podcast import

refactor migration queries to use forge functions
This commit is contained in:
Yassine Doghri 2023-08-26 13:03:01 +00:00
commit 7ff1dbe903
63 changed files with 387 additions and 355 deletions

View file

@ -66,7 +66,7 @@ class UserController extends BaseController
$roleOptions = [];
array_walk(
$roles,
static function ($role, $key) use (&$roleOptions): array {
static function (array $role, $key) use (&$roleOptions): array {
$roleOptions[$key] = $role['title'];
return $roleOptions;
},
@ -172,7 +172,7 @@ class UserController extends BaseController
$roleOptions = [];
array_walk(
$roles,
static function ($role, $key) use (&$roleOptions): array {
static function (array $role, $key) use (&$roleOptions): array {
$roleOptions[$key] = $role['title'];
return $roleOptions;
},