mirror of
https://github.com/nikoksr/notify.git
synced 2024-11-24 08:22:18 +02:00
Update service/pushbullet/sms.go
Co-authored-by: Niko Köser <koeserniko@gmail.com>
This commit is contained in:
parent
6dc24edfa4
commit
9966e69271
@ -53,7 +53,6 @@ func (sms SMS) Send(subject, message string) error {
|
|||||||
for _, phoneNumber := range sms.phoneNumbers {
|
for _, phoneNumber := range sms.phoneNumbers {
|
||||||
|
|
||||||
err = sms.client.PushSMS(user.Iden, sms.deviceIdentifier, phoneNumber, fullMessage)
|
err = sms.client.PushSMS(user.Iden, sms.deviceIdentifier, phoneNumber, fullMessage)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return errors.Wrapf(err, "failed to send SMS message to %s via PushBullet", phoneNumber)
|
return errors.Wrapf(err, "failed to send SMS message to %s via PushBullet", phoneNumber)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user