From 23e36eb64ed5c80c496d17ec7d8288d16b42103b Mon Sep 17 00:00:00 2001 From: Alvaro Navarro Date: Fri, 9 Jan 2026 12:53:19 +0100 Subject: [PATCH] fix: update fallback channels in Verify request code snippet --- .../com/vonage/quickstart/verify2/SendRequestWithFallback.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/vonage/quickstart/verify2/SendRequestWithFallback.java b/src/main/java/com/vonage/quickstart/verify2/SendRequestWithFallback.java index 59cb0f0..9648eee 100644 --- a/src/main/java/com/vonage/quickstart/verify2/SendRequestWithFallback.java +++ b/src/main/java/com/vonage/quickstart/verify2/SendRequestWithFallback.java @@ -35,7 +35,8 @@ public static void main(String[] args) throws Exception { VerificationResponse response = client.getVerify2Client().sendVerification( VerificationRequest.builder() .addWorkflow(new SilentAuthWorkflow(VERIFY_NUMBER)) - .addWorkflow(new EmailWorkflow(VERIFY_TO_EMAIL)) + .addWorkflow(new SmsWorkflow(VERIFY_NUMBER)) + .addWorkflow(new VoiceWorkflow(VERIFY_NUMBER)) .brand(VERIFY_BRAND_NAME).build() ); System.out.println("Verification sent: " + response.getRequestId());