Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
OlehParyshkura2 committed May 22, 2024
1 parent 253f088 commit 4a11286
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions services/watcher/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -494,9 +494,7 @@ func (s *service) GetWatcherHistoryPrices(ctx context.Context) *CGData {

func (s *service) CreateWatcher(ctx context.Context, pushToken string, deviceId string) error {
//if watcher with deviceId exists then update, not create
if deviceId != "" {

}
dbWatcher, err := s.repository.GetWatcher(ctx, bson.M{"device_id": deviceId})
if err != nil {
return err
Expand Down

0 comments on commit 4a11286

Please sign in to comment.