From 56478d81da4fb3961c942c14320e6f29bedd53ba Mon Sep 17 00:00:00 2001 From: Stan Date: Mon, 26 Mar 2018 20:56:58 +0200 Subject: [PATCH] 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 --- app/Models/Node.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Models/Node.php b/app/Models/Node.php index f978bcf77..000370b90 100644 --- a/app/Models/Node.php +++ b/app/Models/Node.php @@ -48,6 +48,7 @@ class Node extends Model implements CleansAttributes, ValidableContract 'daemonListen' => 'integer', 'daemonSFTP' => 'integer', 'behind_proxy' => 'boolean', + 'public' => 'boolean', ]; /**