TF-939 Depend on accountCapabilities to delete multiple mailboxes
This commit is contained in:
committed by
Dat H. Pham
parent
3871b18f00
commit
48ae928b4e
@@ -20,9 +20,11 @@ class DeleteMultipleMailboxInteractor {
|
||||
mailboxIdDeleted,
|
||||
currentMailboxState: currentMailboxState));
|
||||
} else {
|
||||
logError('DeleteMultipleMailboxInteractor::execute(): failed');
|
||||
yield Left<Failure, Success>(DeleteMultipleMailboxFailure(null));
|
||||
}
|
||||
} catch (e) {
|
||||
logError('DeleteMultipleMailboxInteractor::execute(): exception: $e');
|
||||
yield Left<Failure, Success>(DeleteMultipleMailboxFailure(e));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user