Skip to content

Commit ceff5ac

Browse files
lancepiochDaneEveritt
authored andcommitted
Public is just the boolean (pterodactyl#1101)
1 parent 28052d5 commit ceff5ac

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/Models/Node.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ class Node extends Model implements CleansAttributes, ValidableContract
4141
* @var array
4242
*/
4343
protected $casts = [
44-
'public' => 'integer',
4544
'location_id' => 'integer',
4645
'memory' => 'integer',
4746
'disk' => 'integer',
@@ -228,5 +227,4 @@ public function allocations()
228227
{
229228
return $this->hasMany(Allocation::class);
230229
}
231-
232-
}
230+
}

0 commit comments

Comments
 (0)