Skip to content

Commit 78bdb7e

Browse files
fix: allow WireGuardTunnel 'descr' to be empty
1 parent 3b4ae01 commit 78bdb7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ class WireGuardTunnel extends Model {
5454
$this->descr = new StringField(
5555
required: false,
5656
default: '',
57+
allow_empty: true,
5758
help_text: 'A description for this WireGuard tunnel.',
5859
);
5960
$this->listenport = new PortField(

0 commit comments

Comments
 (0)