Skip to content
This repository was archived by the owner on Aug 15, 2024. It is now read-only.

Fix to use the correct environment variable #938

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions quickstart/java/sms/example-1/example-1.8.x.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
public class SmsSender {
// Find your Account Sid and Auth Token at twilio.com/console
public static final String ACCOUNT_SID = System.getenv("TWILIO_ACCOUNT_SID");
public static final String AUTH_TOKEN = System.getenv("TWILIO_ACCOUNT_SID");
public static final String AUTH_TOKEN = System.getenv("TWILIO_AUTH_TOKEN");

public static void main(String[] args) {
Twilio.init(ACCOUNT_SID, AUTH_TOKEN);
Expand All @@ -19,4 +19,4 @@ public static void main(String[] args) {

System.out.println(message.getSid());
}
}
}