[server] Add todo
This commit is contained in:
parent
830483ca68
commit
a9072d7dcb
1 changed files with 2 additions and 0 deletions
|
@ -194,6 +194,8 @@ func (c *DeleteUserCleanupController) isDeleted(item *entity.DataCleanup) error
|
|||
if err == nil {
|
||||
// user is not deleted, double check by verifying email is not empty
|
||||
if u.Email != "" {
|
||||
// todo: remove this logic after next deployment. This is to only handle cases
|
||||
// where we have not removed scheduled delete entry for account post recovery.
|
||||
remErr := c.Repo.RemoveScheduledDelete(context.Background(), item.UserID)
|
||||
if remErr != nil {
|
||||
return stacktrace.Propagate(remErr, "failed to remove scheduled delete entry")
|
||||
|
|
Loading…
Add table
Reference in a new issue