1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-10-26 21:02:28 +02:00

Added cast for 'public' field (#1085)

The missing cast was resulting in the API to send a 0 or 1 instead of true or false for the public field
This commit is contained in:
Stan 2018-03-26 20:56:58 +02:00 committed by Dane Everitt
parent b65b795127
commit 56478d81da

View File

@ -48,6 +48,7 @@ class Node extends Model implements CleansAttributes, ValidableContract
'daemonListen' => 'integer', 'daemonListen' => 'integer',
'daemonSFTP' => 'integer', 'daemonSFTP' => 'integer',
'behind_proxy' => 'boolean', 'behind_proxy' => 'boolean',
'public' => 'boolean',
]; ];
/** /**