Merge pull request #2279 from Br0wnHammer/fix/fe/port-validation

Fix: Port Validation Uptime
This commit is contained in:
Alexander Holliday
2025-05-14 14:31:54 -07:00
committed by GitHub
+1 -1
View File
@@ -171,7 +171,7 @@ const monitorValidation = joi.object({
.max(65535)
.when("type", {
is: "port",
then: joi.required().messages({
then: joi.number().messages({
"number.base": "Port must be a number.",
"number.min": "Port must be at least 1.",
"number.max": "Port must be at most 65535.",