Updated model to parse config fields
This commit is contained in:
@@ -39,11 +39,11 @@ func (msg Message) Print() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type TwiloDetails struct {
|
type TwiloDetails struct {
|
||||||
AccountSID string `json:"account_sid"`
|
AccountSID string `json:"auth_sid"`
|
||||||
ServiceSID string `json:"service_sid"`
|
ServiceSID string `json:"service_sid"`
|
||||||
URI string `json:"uri"`
|
URI string `json:"uri"`
|
||||||
AuthToken string `json:"auth_token"`
|
AuthToken string `json:"auth_token"`
|
||||||
Number string `json:"number"`
|
Number string `json:"phone_number"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (config TwiloDetails) PrintConfig() {
|
func (config TwiloDetails) PrintConfig() {
|
||||||
|
|||||||
Reference in New Issue
Block a user