updated to make index page working
This commit is contained in:
1 parent
7363d7c0ec
commit
5831275b7a
11 files changed
+160
-149
No files matched your search
@@ -20,7 +20,7 @@ export async function findArticlesNin(nin, skip, limit, sort) {
|
||||
})
|
||||
}
|
||||
|
||||
export async function findArticles(page, pageSize) {
|
||||
export async function findArticles(page: number, pageSize: number) {
|
||||
const limit = pageSize
|
||||
const skip = (page - 1) * pageSize
|
||||
|
||||
|
||||
Reference in new issue
Block a user