small update

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

View File

@ -29,7 +29,7 @@ suspend fun <T> doAllWithCurrentPaging(
) {
doForAll(
initialPagination,
{ it.thisPageIfNotEmpty() },
{ it.currentPageIfNotEmpty() },
block
)
}

View File

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