small update

This commit is contained in:
InsanusMokrassar committed 2021-03-29 19:51:38 +06:00
1 parent 30b70e9984
commit 1b540199f0
2 files changed
+2 -2

No files matched your search

@@ -29,7 +29,7 @@ suspend fun <T> doAllWithCurrentPaging(
) {
doForAll(
initialPagination,
{ it.thisPageIfNotEmpty() },
{ it.currentPageIfNotEmpty() },
block
)
}
@@ -30,6 +30,6 @@ suspend fun <T> getAllWithCurrentPaging(
block: suspend (Pagination) -> PaginationResult<T>
): List<T> = getAll(
initialPagination,
{ it.thisPageIfNotEmpty() },
{ it.currentPageIfNotEmpty() },
block
)