From ca2a7e69ba06919a90b31055fd8251c19ce11984 Mon Sep 17 00:00:00 2001 From: Kanin Peanviriyakulkit Date: Wed, 9 Oct 2019 15:46:40 +0700 Subject: [PATCH] Update line_notify.go I think we should send notify when update the Access token. --- notifiers/line_notify.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/notifiers/line_notify.go b/notifiers/line_notify.go index 4e5cd3f8..8ab5ab6c 100644 --- a/notifiers/line_notify.go +++ b/notifiers/line_notify.go @@ -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 }