Skip to content

Commit

Permalink
correct callback url
Browse files Browse the repository at this point in the history
  • Loading branch information
nicpottier committed Sep 10, 2017
1 parent e726893 commit 690788b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/twilio/twilio.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func (h *handler) StatusMessage(channel courier.Channel, w http.ResponseWriter,
// SendMsg sends the passed in message, returning any error
func (h *handler) SendMsg(msg courier.Msg) (courier.MsgStatus, error) {
// build our callback URL
callbackURL := fmt.Sprintf("%s/c/kn/%s/status", h.Server().Config().BaseURL, msg.Channel().UUID())
callbackURL := fmt.Sprintf("%s/c/t/%s/status", h.Server().Config().BaseURL, msg.Channel().UUID())

accountSID := msg.Channel().StringConfigForKey(configAccountSID, "")
if accountSID == "" {
Expand Down

0 comments on commit 690788b

Please sign in to comment.