Twilio calls it a SID
This commit is contained in:
parent
67a6659e59
commit
a7747bca1e
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
```
|
||||
|
||||
|
|
4
smsbb.go
4
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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue