tsk-22: Removing URI from config.TwilioConfig
This commit is contained in:
@@ -4,10 +4,10 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
type TwilioConfig struct {
|
type TwilioConfig struct {
|
||||||
AccountSID string `json:"auth_sid"`
|
AccountSID string `json:"auth_sid"`
|
||||||
ServiceSID string `json:"service_sid"`
|
ServiceSID string `json:"service_sid"`
|
||||||
URI string `json:"uri"`
|
|
||||||
AuthToken string `json:"auth_token"`
|
AuthToken string `json:"auth_token"`
|
||||||
Number string `json:"phone_number"`
|
Number string `json:"phone_number"`
|
||||||
}
|
}
|
||||||
@@ -16,7 +16,6 @@ func (config *TwilioConfig) PrintConfig() {
|
|||||||
fmt.Println("Twilio config")
|
fmt.Println("Twilio config")
|
||||||
fmt.Println("Account SID:", config.AccountSID)
|
fmt.Println("Account SID:", config.AccountSID)
|
||||||
fmt.Println("Service SID:", config.ServiceSID)
|
fmt.Println("Service SID:", config.ServiceSID)
|
||||||
fmt.Println("URI:", config.URI)
|
|
||||||
fmt.Println("Auth Token:", config.AuthToken)
|
fmt.Println("Auth Token:", config.AuthToken)
|
||||||
fmt.Println("Number:", config.Number)
|
fmt.Println("Number:", config.Number)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user