mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-05-22 06:48:36 +02:00
Rename twilio-from-number to twilio-phone-number
This commit is contained in:
parent
8ddfd2459d
commit
3b3e6ac2cd
7 changed files with 19 additions and 19 deletions
server
|
@ -67,7 +67,7 @@ func (s *Server) callPhone(v *visitor, r *http.Request, m *message, to string) {
|
|||
}
|
||||
body := fmt.Sprintf(twilioCallFormat, xmlEscapeText(m.Topic), xmlEscapeText(m.Message), xmlEscapeText(sender))
|
||||
data := url.Values{}
|
||||
data.Set("From", s.config.TwilioFromNumber)
|
||||
data.Set("From", s.config.TwilioPhoneNumber)
|
||||
data.Set("To", to)
|
||||
data.Set("Twiml", body)
|
||||
ev := logvrm(v, r, m).Tag(tagTwilio).Field("twilio_to", to).FieldIf("twilio_body", body, log.TraceLevel).Debug("Sending Twilio request")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue