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
+2 -2
View File
@@ -3,10 +3,10 @@ import { Length } from "class-validator";
import type { Protobuf } from "@meshtastic/meshtasticjs"; import type { Protobuf } from "@meshtastic/meshtasticjs";
export class WiFiValidation implements Protobuf.Config_WiFiConfig { export class WiFiValidation implements Protobuf.Config_WiFiConfig {
@Length(1, 30) @Length(1, 33)
ssid: string; ssid: string;
@Length(8, 16) @Length(8, 64)
psk: string; psk: string;
apMode: boolean; apMode: boolean;