Fix max length for wifi credentials

This commit is contained in:
Sacha Weatherstone
2022-08-06 13:57:21 +10:00
parent 1dd239ca09
commit 258ffc2ec6

View File

@@ -3,10 +3,10 @@ import { Length } from "class-validator";
import type { Protobuf } from "@meshtastic/meshtasticjs";
export class WiFiValidation implements Protobuf.Config_WiFiConfig {
@Length(1, 30)
@Length(1, 33)
ssid: string;
@Length(8, 16)
@Length(8, 64)
psk: string;
apMode: boolean;