Skip to content

Commit 5a3c6ff

Browse files
fix(Table): add 'name' field to Table model
1 parent 2983ee3 commit 5a3c6ff

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Models

pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Models/Table.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class Table extends Model {
1919
$this->id_type = 'string';
2020
$this->many = true;
2121

22+
$this->name = new StringField(required: true, help_text: 'The name of the table');
2223
$this->entries = new StringField(many: true, delimiter: ' ', help_text: 'The entries currently in the table.');
2324

2425
parent::__construct($id, $parent_id, $data, ...$options);

0 commit comments

Comments
 (0)