mirror of
https://github.com/ente-io/ente.git
synced 2025-08-13 01:27:17 +00:00
[server] Add todo
This commit is contained in:
@@ -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")
|
||||
|
Reference in New Issue
Block a user