TF-1869: Double check email have been duplicated and remove it
(cherry picked from commit d1d448502228633554ea6eeb9a4bb9c98f849b18)
This commit is contained in:
@@ -66,7 +66,7 @@ class GetEmailByIdInteractor {
|
||||
) async* {
|
||||
try {
|
||||
|
||||
final email = await _emailRepository.getEmailFromCache(session, accountId, emailId);
|
||||
final email = await _emailRepository.getEmailStored(session, accountId, emailId);
|
||||
|
||||
if (email != null) {
|
||||
yield Right<Failure, Success>(GetEmailByIdSuccess(email.toPresentationEmail()));
|
||||
|
||||
Reference in New Issue
Block a user