From a7747bca1e1dbda789fff7aa4ccb62192b32a9c9 Mon Sep 17 00:00:00 2001 From: Dani Sweet Date: Sun, 7 Jan 2024 19:24:04 -0500 Subject: [PATCH] Twilio calls it a SID --- readme.md | 2 +- smsbb.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index abef2a0..488e752 100644 --- a/readme.md +++ b/readme.md @@ -35,7 +35,7 @@ Here's what to do if you haven't already set up your `GOPATH`: variables: ```shell - $ export SMSBB_ACCT_ID="..." # Your Twilio Account SID goes here + $ export SMSBB_ACCT_SID="..." # Your Twilio Account SID goes here $ export SMSBB_AUTH_TOKEN="..." # Your Twilio Auth Token goes here ``` diff --git a/smsbb.go b/smsbb.go index d086f14..5c8f062 100644 --- a/smsbb.go +++ b/smsbb.go @@ -11,11 +11,11 @@ import ( ) func main () { - accountSid := os.Getenv("SMSBB_ACCT_ID") + accountSid := os.Getenv("SMSBB_ACCT_SID") authToken := os.Getenv("SMSBB_AUTH_TOKEN") if (len(accountSid) == 0) { - fmt.Fprintf(os.Stderr, "Please set the SMSBB_ACCT_ID environment variable to your Twilio account ID\n") + fmt.Fprintf(os.Stderr, "Please set the SMSBB_ACCT_SID environment variable to your Twilio account SID\n") os.Exit(1) }