diff --git a/src/main/java/com/icomsys/MessagingConnector.java b/src/main/java/com/icomsys/MessagingConnector.java index a4293a3..bcecfe1 100644 --- a/src/main/java/com/icomsys/MessagingConnector.java +++ b/src/main/java/com/icomsys/MessagingConnector.java @@ -38,7 +38,7 @@ public class MessagingConnector { public MessageSendResponse messageDiv(MessageSendRequest messageSendRequest) throws IOException, InterruptedException { String url = sms; - String key = UUID.randomUUID().toString().substring(0, 6); + String key = UUID.randomUUID().toString().substring(0, 7); LocalDate now = LocalDate.now(); messageSendRequest.setUserKey(now.toString().substring(2).replace("-", "") + key);