Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7714a7fd3e
|
@@ -20,7 +20,7 @@ type MessageSender struct {
|
|||||||
|
|
||||||
func (m *MessageSender) Send(msg message.Message, number contact.Contact, sendTime *time.Time) (*types.TwilioResult, error) {
|
func (m *MessageSender) Send(msg message.Message, number contact.Contact, sendTime *time.Time) (*types.TwilioResult, error) {
|
||||||
if m.Config == nil {
|
if m.Config == nil {
|
||||||
return fmt.Errorf("Config has not been initialized")
|
return nil, fmt.Errorf("Config has not been initialized")
|
||||||
}
|
}
|
||||||
now := time.Now()
|
now := time.Now()
|
||||||
client := twilio.NewRestClientWithParams(twilio.ClientParams{
|
client := twilio.NewRestClientWithParams(twilio.ClientParams{
|
||||||
|
|||||||
Reference in New Issue
Block a user