update : change totalPages to count, and remove totalItems
This commit is contained in:
@@ -59,8 +59,7 @@ data class PagingData<T>(
|
||||
.div(pageSize)
|
||||
).roundToLong()
|
||||
)
|
||||
put("totalItems", JsonPrimitive(itemCount))
|
||||
put("totalPages", JsonPrimitive(totalPages))
|
||||
put("count", JsonPrimitive(totalPages))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user