TF-1708 Update props properties for all state object in interactor

(cherry picked from commit 2a5441c2ef4facf28e7e6e1678e89601d72259be)
This commit is contained in:
dab246
2023-07-07 13:07:53 +07:00
committed by Dat Vu
parent 24d7eee69a
commit 0583406e3b
142 changed files with 348 additions and 1092 deletions
@@ -55,7 +55,7 @@ class MarkAsMultipleEmailReadInteractor {
currentMailboxState: currentMailboxState));
}
} catch (e) {
yield Left(MarkAsMultipleEmailReadFailure(e, readAction));
yield Left(MarkAsMultipleEmailReadFailure(readAction, e));
}
}
}
@@ -45,7 +45,7 @@ class MarkAsStarMultipleEmailInteractor {
currentEmailState: currentEmailState));
}
} catch (e) {
yield Left(MarkAsStarMultipleEmailFailure(e, markStarAction));
yield Left(MarkAsStarMultipleEmailFailure(markStarAction, e));
}
}
}
@@ -59,7 +59,7 @@ class MoveMultipleEmailToMailboxInteractor {
currentMailboxState: currentMailboxState));
}
} catch (e) {
yield Left(MoveMultipleEmailToMailboxFailure(e, moveRequest.emailActionType, moveRequest.moveAction));
yield Left(MoveMultipleEmailToMailboxFailure(moveRequest.emailActionType, moveRequest.moveAction, e));
}
}
}