From 7805884ef4dfcbaf6f27967893f3f5b0f298b70f Mon Sep 17 00:00:00 2001 From: Alex Lushpai Date: Fri, 29 Mar 2019 16:13:06 +0300 Subject: [PATCH] update validator --- src/validator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/validator.go b/src/validator.go index d2419ae..63d0d1c 100644 --- a/src/validator.go +++ b/src/validator.go @@ -8,7 +8,7 @@ import ( "gopkg.in/go-playground/validator.v8" ) -var regCommandName = regexp.MustCompile(`https://?[\da-z.-]+\.(retailcrm\.(ru|pro|es)|ecomlogic\.com)`) +var regCommandName = regexp.MustCompile(`https://?[\da-z.-]+\.(retailcrm\.(ru|pro|es)|ecomlogic\.com|simlachat\.com)`) func setValidation() { if v, ok := binding.Validator.Engine().(*validator.Validate); ok {