add paging request #2

Open
chinyeewen wants to merge 5 commits from feat/paging-request into main
Showing only changes of commit 32d0594e84 - Show all commits

View File

@@ -59,8 +59,7 @@ data class PagingData<T>(
.div(pageSize)
).roundToLong()
)
put("totalItems", JsonPrimitive(itemCount))
put("totalPages", JsonPrimitive(totalPages))
put("count", JsonPrimitive(totalPages))
}
}
}