Skip to content

Commit 96211bb

Browse files
committed
Remoe E.164 validation to phone numbers
1 parent e549b25 commit 96211bb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

api/pkg/validators/message_handler_validator.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ func (validator MessageHandlerValidator) ValidateMessageSend(ctx context.Context
8181
Rules: govalidator.MapData{
8282
"to": []string{
8383
"required",
84-
phoneNumberRule,
8584
},
8685
"from": []string{
8786
"required",
@@ -135,7 +134,6 @@ func (validator MessageHandlerValidator) ValidateMessageBulkSend(ctx context.Con
135134
"required",
136135
"max:50",
137136
"min:1",
138-
multiplePhoneNumberRule,
139137
},
140138
"from": []string{
141139
"required",

0 commit comments

Comments
 (0)