mirror of
https://github.com/typicode/json-server.git
synced 2025-07-29 13:14:12 +08:00
Add prettier
This commit is contained in:
@ -2,7 +2,7 @@ module.exports = {
|
||||
getPage
|
||||
}
|
||||
|
||||
function getPage (array, page, perPage) {
|
||||
function getPage(array, page, perPage) {
|
||||
var obj = {}
|
||||
var start = (page - 1) * perPage
|
||||
var end = page * perPage
|
||||
|
Reference in New Issue
Block a user