We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be11183 commit 23e36ebCopy full SHA for 23e36eb
1 file changed
src/main/java/com/vonage/quickstart/verify2/SendRequestWithFallback.java
@@ -35,7 +35,8 @@ public static void main(String[] args) throws Exception {
35
VerificationResponse response = client.getVerify2Client().sendVerification(
36
VerificationRequest.builder()
37
.addWorkflow(new SilentAuthWorkflow(VERIFY_NUMBER))
38
- .addWorkflow(new EmailWorkflow(VERIFY_TO_EMAIL))
+ .addWorkflow(new SmsWorkflow(VERIFY_NUMBER))
39
+ .addWorkflow(new VoiceWorkflow(VERIFY_NUMBER))
40
.brand(VERIFY_BRAND_NAME).build()
41
);
42
System.out.println("Verification sent: " + response.getRequestId());
0 commit comments