Skip to content

Commit

Permalink
Only log nos users
Browse files Browse the repository at this point in the history
  • Loading branch information
dcadenas committed Sep 27, 2024
1 parent ddb885b commit 6425b59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/app/follow_change_puller.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (f *FollowChangePuller) Run(ctx context.Context) error {
}

tokens, err := f.queries.GetTokens.Handle(ctx, followChangeAggregate.Followee)
if err != nil {
if err != nil || len(tokens) == 0 {
// Not one of our users, ignore
continue
}
Expand Down

0 comments on commit 6425b59

Please sign in to comment.