mirror of
https://github.com/readrops/Readrops.git
synced 2025-01-31 19:05:07 +01:00
Fix CI build
This commit is contained in:
parent
8071f0b477
commit
0d69cfd66d
@ -58,7 +58,7 @@ abstract class NewFeedDao : NewBaseDao<Feed> {
|
|||||||
* @return the list of the inserted feeds ids
|
* @return the list of the inserted feeds ids
|
||||||
*/
|
*/
|
||||||
@Transaction
|
@Transaction
|
||||||
suspend fun upsertFeeds(feeds: List<Feed>, account: Account): List<Long> {
|
open suspend fun upsertFeeds(feeds: List<Feed>, account: Account): List<Long> {
|
||||||
val localFeedIds = selectFeedRemoteIds(account.id)
|
val localFeedIds = selectFeedRemoteIds(account.id)
|
||||||
|
|
||||||
val feedsToInsert = feeds.filter { feed -> localFeedIds.none { localFeedId -> feed.remoteId == localFeedId } }
|
val feedsToInsert = feeds.filter { feed -> localFeedIds.none { localFeedId -> feed.remoteId == localFeedId } }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user