Kludges are not required in messages
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 38s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m41s
Create Docker Image / Final Docker Image Manifest (push) Successful in 11s

This commit is contained in:
Deon George 2024-05-21 22:58:19 +10:00
parent 396614afcc
commit 1f3b81acc6

View File

@ -809,7 +809,7 @@ class Message extends FTNBase
'tftn_id' => $this->isNetmail() ? 'required|exists:App\Models\Address,id' : 'prohibited', 'tftn_id' => $this->isNetmail() ? 'required|exists:App\Models\Address,id' : 'prohibited',
'rogue_path' => $this->isEchomail() ? 'sometimes|array' : 'prohibited', 'rogue_path' => $this->isEchomail() ? 'sometimes|array' : 'prohibited',
'rogue_seenby' => $this->isEchomail() ? 'sometimes|array' : 'prohibited', 'rogue_seenby' => $this->isEchomail() ? 'sometimes|array' : 'prohibited',
'kludges' => 'present|array|min:1', // @todo add in required KEYS like INTL for netmails 'kludges' => 'present|array', // @todo add in required KEYS like INTL for netmails
'onode' => ['required',new TwoByteIntegerWithZero], 'onode' => ['required',new TwoByteIntegerWithZero],
'dnode' => ['required',new TwoByteIntegerWithZero], 'dnode' => ['required',new TwoByteIntegerWithZero],