mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-11 10:46:43 +02:00
fix(types): update fake seeders types + fix bugs
This commit is contained in:
parent
c72f4be6d8
commit
76a4bf3441
15 changed files with 78 additions and 59 deletions
|
|
@ -143,7 +143,7 @@ class UserController extends BaseController
|
|||
$authorize = Services::authorization();
|
||||
|
||||
$roles = $this->request->getPost('roles');
|
||||
$authorize->setUserGroups($this->user->id, $roles);
|
||||
$authorize->setUserGroups($this->user->id, $roles ?? []);
|
||||
|
||||
// Success!
|
||||
return redirect()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue