Fix exception when modifying existing DB host, closes #910
This commit is contained in:
parent
de1d9502c1
commit
ff8b5fc5a3
3 changed files with 3 additions and 2 deletions
|
@ -100,7 +100,7 @@ class DatabaseController extends Controller
|
|||
*
|
||||
* @throws \Pterodactyl\Exceptions\Repository\RecordNotFoundException
|
||||
*/
|
||||
public function view($host): View
|
||||
public function view(int $host): View
|
||||
{
|
||||
return view('admin.databases.view', [
|
||||
'locations' => $this->locationRepository->getAllWithNodes(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue