Fix form validation

This commit is contained in:
Sacha Weatherstone
2022-08-27 20:33:49 +10:00
parent 4099fb60c2
commit cf47855f23
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ export class LoRaValidation implements Protobuf.Config_LoRaConfig {
bandwidth: number;
@IsInt()
// @Min(7)
@Min(7)
@Max(12)
spreadFactor: number;
@@ -31,7 +31,7 @@ export class LoRaValidation implements Protobuf.Config_LoRaConfig {
region: Protobuf.Config_LoRaConfig_RegionCode;
@IsInt()
@Min(0)
@Min(1)
@Max(7)
hopLimit: number;