diff --git a/app/Models/Node.php b/app/Models/Node.php index 29020b59b..a33f2f7f6 100644 --- a/app/Models/Node.php +++ b/app/Models/Node.php @@ -35,6 +35,7 @@ use Illuminate\Contracts\Encryption\Encrypter; * @property \Pterodactyl\Models\Mount[]|\Illuminate\Database\Eloquent\Collection $mounts * @property \Pterodactyl\Models\Server[]|\Illuminate\Database\Eloquent\Collection $servers * @property \Pterodactyl\Models\Allocation[]|\Illuminate\Database\Eloquent\Collection $allocations + * @property \Pterodactyl\Models\DatabaseHost $databaseHost */ class Node extends Model { diff --git a/resources/scripts/components/admin/nodes/NodeSettingsContainer.tsx b/resources/scripts/components/admin/nodes/NodeSettingsContainer.tsx index add1b794b..c0b52ff94 100644 --- a/resources/scripts/components/admin/nodes/NodeSettingsContainer.tsx +++ b/resources/scripts/components/admin/nodes/NodeSettingsContainer.tsx @@ -1,7 +1,7 @@ import React from 'react'; import AdminBox from '@/components/admin/AdminBox'; import tw from 'twin.macro'; -import { number, object, string } from 'yup'; +import { object, string } from 'yup'; import updateNode from '@/api/admin/nodes/updateNode'; import Button from '@/components/elements/Button'; import Field from '@/components/elements/Field';