Merge pull request #261 from dogrocker/patch-1

Update line_notify.go
pull/258/head^2
Hunter Long 2019-10-15 08:46:37 -07:00 committed by GitHub
commit d7736d28d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -87,7 +87,8 @@ func (u *lineNotifier) OnSuccess(s *types.Service) {
// OnSave triggers when this notifier has been saved
func (u *lineNotifier) OnSave() error {
utils.Log(1, fmt.Sprintf("Notification %v is receiving updated information.", u.Method))
// Do updating stuff here
msg := fmt.Sprintf("Notification %v is receiving updated information.", u.Method)
utils.Log(1, msg)
u.AddQueue("saved", message)
return nil
}