mirror of
https://github.com/nikoksr/notify.git
synced 2025-07-15 01:34:58 +02:00
Update service/pushbullet/pushbullet.go
Co-authored-by: Niko Köser <koeserniko@gmail.com>
This commit is contained in:
@ -28,7 +28,6 @@ func New(apiToken string) *Pushbullet {
|
|||||||
// AddReceivers takes Pushbullet device nicknames and adds them to the internal deviceNicknames list.
|
// AddReceivers takes Pushbullet device nicknames and adds them to the internal deviceNicknames list.
|
||||||
// The Send method will send a given message to all those devices.
|
// The Send method will send a given message to all those devices.
|
||||||
func (pb *Pushbullet) AddReceivers(deviceNicknames ...string) {
|
func (pb *Pushbullet) AddReceivers(deviceNicknames ...string) {
|
||||||
|
|
||||||
pb.deviceNicknames = append(pb.deviceNicknames, deviceNicknames...)
|
pb.deviceNicknames = append(pb.deviceNicknames, deviceNicknames...)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user