From 1c8143ad9dcdaa97d880e3d01679d0241a631848 Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Sat, 30 Jan 2021 13:55:13 -0700 Subject: [PATCH] add missing field to Node.php comment --- app/Models/Node.php | 1 + .../scripts/components/admin/nodes/NodeSettingsContainer.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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';