TF-1810 Add GetDetailedEmailByIdInteractor to get detailed email
(cherry picked from commit 765cebec00ae26458fe7f5e17ec6026f82f1fd0f)
This commit is contained in:
@@ -188,4 +188,9 @@ class EmailRepositoryImpl extends EmailRepository {
|
||||
Future<void> storeDetailedEmailToCache(Session session, AccountId accountId, DetailedEmail detailedEmail) {
|
||||
return emailDataSource[DataSourceType.hiveCache]!.storeDetailedEmailToCache(session, accountId, detailedEmail);
|
||||
}
|
||||
|
||||
@override
|
||||
Future<Email> getDetailedEmailById(Session session, AccountId accountId, EmailId emailId) {
|
||||
return emailDataSource[DataSourceType.network]!.getDetailedEmailById(session, accountId, emailId);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user