diff --git a/src/server/web_handlers.go b/src/server/web_handlers.go index 9c98c98..0027c6d 100644 --- a/src/server/web_handlers.go +++ b/src/server/web_handlers.go @@ -294,7 +294,7 @@ func (s *Server) handlePostRequestServiceForm(c iris.Context) { return } - if len(data.Attributes) < 3 { + if len(data.Attributes) < 1 { log.Error().Msgf("Invalid number of attributes: %v", len(data.Attributes)) c.Redirect("/request/service?error=You%20must%20select%20at%20least%203%20attributes", iris.StatusSeeOther) return