house cleaning (#368)

This commit is contained in:
Daniel Joudat
2022-02-10 23:50:09 +03:00
committed by GitHub
parent 8a213a851c
commit 10b3d176f6

View File

@@ -369,6 +369,7 @@ func (domain *Domain) Delete(ctx context.Context, userId string) error {
generateAccountStoreKey(ctx, userId),
generateAccountEmailStoreKey(ctx, account.Email),
generateAccountUsernameStoreKey(ctx, account.Username),
generatePasswordStoreKey(ctx, userId),
}
return domain.batchDelete(keys)