diff options
author | Till Faelligen <2353100+S7evinK@users.noreply.github.com> | 2022-09-30 17:31:41 +0200 |
---|---|---|
committer | Till Faelligen <2353100+S7evinK@users.noreply.github.com> | 2022-09-30 17:31:41 +0200 |
commit | 3617d5a0ff580c7ca0058490308f7f946df3882f (patch) | |
tree | f679a54ccfd9cd3ced48209f16be26a81e697e77 /userapi/internal | |
parent | 60ec9180e6f5b032f147be66aeb0c6713bdfdbe4 (diff) |
Remove SendAccountData, since InputAccountData is already doing that
Diffstat (limited to 'userapi/internal')
-rw-r--r-- | userapi/internal/api.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/userapi/internal/api.go b/userapi/internal/api.go index 3e761a88..591faffd 100644 --- a/userapi/internal/api.go +++ b/userapi/internal/api.go @@ -796,11 +796,6 @@ func (a *UserInternalAPI) PerformPushRulesPut( if err := a.InputAccountData(ctx, &userReq, &userRes); err != nil { return err } - if err := a.SyncProducer.SendAccountData(req.UserID, eventutil.AccountData{ - Type: pushRulesAccountDataType, - }); err != nil { - util.GetLogger(ctx).WithError(err).Errorf("syncProducer.SendData failed") - } return nil } |