mirror of https://github.com/statping/statping
Update line_notify.go
I think we should send notify when update the Access token.pull/261/head
parent
2824c8fe9a
commit
ca2a7e69ba
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue