diff --git a/services/watcher/service.go b/services/watcher/service.go index 473647c..2c7a801 100644 --- a/services/watcher/service.go +++ b/services/watcher/service.go @@ -470,6 +470,8 @@ func (s *service) GetWatcher(ctx context.Context, pushToken string) (*Watcher, e return nil, errors.New("watcher not found") } + fmt.Printf("!!GetWatcher -> watcher %v\n", watcher) + s.mx.Lock() s.cachedWatcher[encodePushToken] = watcher s.mx.Unlock()